assertEquals("FATAL 19 \"The fatal message\"\n", encodedString);
}
@Test
public void testInputErrorEncoder() {
final InputErrorEncoder encoder = new InputErrorEncoder();
final String inputId = "inputId";
final List<String> repIds = new ArrayList<String>();
repIds.add("1");
repIds.add("2");
repIds.add("3");
repIds.add("4");
repIds.add("5");
encoder.set(inputId, repIds);
final String encodedString = encoder.toString();
assertEquals("INPUT_ERR 33 [\"inputId\",[\"1\",\"2\",\"3\",\"4\",\"5\"]]\n", encodedString);
}