Loading atlas-commands/src/test/java/es/redmic/test/atlascommands/integration/translation/ExceptionsTranslationTest.java +0 −17 Original line number Diff line number Diff line Loading @@ -105,23 +105,6 @@ public class ExceptionsTranslationTest { } } @Test public void getRussianLanguageMessage_returnCode_WhenI18nFileNotExist() { try { aggregate.process(new UpdateThemeInspireCommand()); } catch (HistoryNotFoundException e) { String code = e.getCode().toString(); String[] fields = (String[]) e.getFieldErrors().toArray(); String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU")); Assert.assertEquals(code, mess); } } @Test public void getMessage_returnCode_WhenCodeNotInI18nFile() { Loading Loading
atlas-commands/src/test/java/es/redmic/test/atlascommands/integration/translation/ExceptionsTranslationTest.java +0 −17 Original line number Diff line number Diff line Loading @@ -105,23 +105,6 @@ public class ExceptionsTranslationTest { } } @Test public void getRussianLanguageMessage_returnCode_WhenI18nFileNotExist() { try { aggregate.process(new UpdateThemeInspireCommand()); } catch (HistoryNotFoundException e) { String code = e.getCode().toString(); String[] fields = (String[]) e.getFieldErrors().toArray(); String mess = messageSource.getMessage(code, fields, new Locale("ru", "RU")); Assert.assertEquals(code, mess); } } @Test public void getMessage_returnCode_WhenCodeNotInI18nFile() { Loading