@Test public void testI18NMessageResource() throws Exception { I18NExample example = getContext().getBean(I18NExample.class); example.execute(); }
public void execute() { String message = messageSource.getMessage("argument.required", new Object[]{"userDao"}, "Required", Locale.UK); System.out.println(message); }
I18NExample { public void execute() { String message = messageSource.getMessage("argument.required", new Object[]{"userDao"}, "Required", Locale.UK); System.out.println(message); } }
I18NExample { public void execute() { String message = messageSource.getMessage("argument.required", new Object[]{"userDao"}, "Required", Locale.UK); System.out.println(message); }  }
I18NExample { public void execute() { String message = messageSource.getMessage("argument.required", new Object[]{"userDao"}, "Required", Locale.UK); System.out.println(message); }  void setMessageSource(MessageSource messageSource); void execute(); }
I18NExample { public void execute() { String message = messageSource.getMessage("argument.required", new Object[]{"userDao"}, "Required", Locale.UK); System.out.println(message); }  void setMessageSource(MessageSource messageSource); void execute();  }