1 package org.kuali.common.util.spring.test;
2
3 import org.junit.Test;
4 import org.kuali.common.util.spring.config.MessagesConfig;
5 import org.springframework.context.annotation.AnnotationConfigApplicationContext;
6
7 public class MessagesTest {
8
9 @Test
10 public void test() {
11 try {
12 AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
13 ctx.register(MessagesConfig.class);
14 ctx.refresh();
15 ctx.close();
16 } catch (Exception e) {
17 e.printStackTrace();
18 }
19 }
20
21 }