move composite test to another class

This commit is contained in:
Enrique Zamudio
2015-04-30 12:59:40 -05:00
parent 002eb48a50
commit 2ef2690df5
@@ -108,19 +108,6 @@ public class TestParsing {
Assert.assertEquals(123456, val.getValue().intValue());
}
@Test
public void testComposite() throws ParseException, UnsupportedEncodingException {
IsoMessage m = mf.parseMessage("12000040000000000000016one 03two12345.".getBytes(), 0);
Assert.assertNotNull(m);
CompositeField f = m.getObjectValue(10);
Assert.assertNotNull(f);
Assert.assertEquals(4, f.getValues().size());
Assert.assertEquals("one ", f.getObjectValue(0));
Assert.assertEquals("two", f.getObjectValue(1));
Assert.assertEquals("12345", f.getObjectValue(2));
Assert.assertEquals(".", f.getObjectValue(3));
}
@Test
public void testDates() throws ParseException, UnsupportedEncodingException {
IsoMessage m = mf.parseMessage("060002000000000000000125213456".getBytes(), 0);