assertEquals("m.getDirection()", 0, m.getDirection());
}
@Test
public void testSendMessageHeaderThrowsNullPointerException() throws Throwable {
BaseChannel logChannel = new LogChannel();
byte[] header = new byte[1];
logChannel.setOverrideHeader(true);
logChannel.setHeader(header);
ISOMsg m = new ISOMsg();
try {
logChannel.sendMessageHeader(m, 100);
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertNull("ex.getMessage()", ex.getMessage());
assertNull("(LogChannel) logChannel.serverOut", ((LogChannel) logChannel).serverOut);
assertEquals("m.getDirection()", 0, m.getDirection());