31323334353637383940
@SuppressWarnings({"serial"}) @Before public void setupFactory() { this.messageContext = new DefaultMessageContext(){}.config().use() .messageResolver(new SimpleMessageResolver()) .localeResolver(new SimpleLocaleResolver()) .create(); }
@SuppressWarnings({"serial"}) @Before public void setupFactory() { this.messageContext = new DefaultMessageContext(){}.config().use() .messageResolver(new TestMessageResolver()) .localeResolver(new TestEnglishLocaleResolver()) .create(); }