@Test
public void should_translate_simple() throws Exception {

    DefaultMessages m = new DefaultMessages("restx.i18n.test");
    assertThat(m.getMessage("key1", Locale.ENGLISH)).isEqualTo("Hello!");
    assertThat(m.getMessage("key1", Locale.FRENCH)).isEqualTo("Bonjour !");
}