@Test
public void testDecode1() throws Exception {

    DataExType dxType = DataExCodec.decode(DataExCodecTest.class.getResourceAsStream("Rcv.xml"));
    assertEquals(2, dxType.getBlockSpace().getBlockOrBlockListOrBlockSeq().size());
    print(dxType.getBlockSpace());
    System.out.println();
    assertEquals(11, dxType.getMessageSpace().getMessage().size());
    print(dxType.getMessageSpace());
    System.out.println();
    assertEquals(2, dxType.getBlockCodecSpace().getBlockCodec().size());
    print(dxType.getBlockCodecSpace());
    System.out.println();
    assertEquals(3, dxType.getFxSpace().getFx().size());
    print(dxType.getFxSpace());
    System.out.println();
}