Package org.jpos.iso.channel

Examples of org.jpos.iso.channel.BASE24TCPChannel.sendMessageTrailer()


    @Test
    public void testSendMessageTrailerThrowsNullPointerException() throws Throwable {
        byte[] b = new byte[3];
        BaseChannel bASE24TCPChannel = new BASE24TCPChannel();
        try {
            bASE24TCPChannel.sendMessageTrailer(new ISOMsg(), b);
            fail("Expected NullPointerException to be thrown");
        } catch (NullPointerException ex) {
            assertNull("ex.getMessage()", ex.getMessage());
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.