assertThat(serialized, not(containsString("<i18nMessage>")));
}
@Test
public void shouldSerializeErrorMessagesInJSON() throws Exception {
Message normal = new SimpleMessage("category", "The message");
I18nMessage i18ned = new I18nMessage("category", "message");
i18ned.setBundle(new SingletonResourceBundle("message", "Something else"));
List<JsonSerializer<?>> gsonSerializers = new ArrayList<>();
List<JsonDeserializer<?>> gsonDeserializers = new ArrayList<>();