This commit is contained in:
Enrique Zamudio
2015-11-20 00:20:05 -06:00
parent fa82e83e22
commit ea05c71410
2 changed files with 15 additions and 0 deletions
@@ -220,4 +220,12 @@ public class TestConfigParser {
Assert.assertEquals(IsoType.ALPHA, nestedField4.getType());
Assert.assertEquals(13, nestedField4.getLength());
}
@Test
public void testEmptyFields() throws IOException, ParseException {
final MessageFactory<IsoMessage> mfact = config("issue64.xml");
IsoMessage msg = mfact.newMessage(0x200);
Assert.assertEquals("", msg.getObjectValue(3));
}
}