@Test
public void testSetHeaderThrowsNullPointerException() throws Throwable {
byte[] TPDU = new byte[0];
byte[] TPDU2 = new byte[1];
NACChannel nACChannel = new NACChannel(new ISO93APackager(), TPDU2, new ServerSocket());
new NACChannel(new ISO93BPackager(), TPDU).addFilter(new DelayFilter(), 100);
try {
nACChannel.setHeader((String) null);
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertNull("ex.getMessage()", ex.getMessage());