From 2ef2690df5ef5cad20bf46c493cd9bcf8e9b45f9 Mon Sep 17 00:00:00 2001 From: Enrique Zamudio Date: Thu, 30 Apr 2015 12:59:40 -0500 Subject: [PATCH] move composite test to another class --- src/test/java/com/solab/iso8583/TestParsing.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/test/java/com/solab/iso8583/TestParsing.java b/src/test/java/com/solab/iso8583/TestParsing.java index 71d5375..eefbb9a 100644 --- a/src/test/java/com/solab/iso8583/TestParsing.java +++ b/src/test/java/com/solab/iso8583/TestParsing.java @@ -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);