### Question:
X25Channel extends BaseChannel { public byte[] getHeader () { return header; } X25Channel();  X25Channel(String host, int port, ISOPackager p);  X25Channel(ISOPackager p);  X25Channel(ISOPackager p, ServerSocket serverSocket); void disconnect(); void setHeader(byte[] header); void setHeader(String header); byte[] getHeader();  }### Answer:
@Test public void testConstructor() throws Throwable { X25Channel x25Channel = new X25Channel(); assertEquals(0, x25Channel.getIncomingFilters().size(), "x25Channel.getIncomingFilters().size()"); assertEquals(100000, x25Channel.getMaxPacketLength(), "x25Channel.getMaxPacketLength()"); assertEquals(0, x25Channel.getPort(), "x25Channel.getPort()"); assertEquals("", x25Channel.getName(), "x25Channel.getName()"); assertNull(x25Channel.reader, "x25Channel.reader"); assertEquals(3, x25Channel.getCounters().length, "x25Channel.getCounters().length"); assertNull(x25Channel.getLogger(), "x25Channel.getLogger()"); assertNull(x25Channel.getSocketFactory(), "x25Channel.getSocketFactory()"); assertNull(x25Channel.getHeader(), "x25Channel.getHeader()"); assertEquals(0, x25Channel.getOutgoingFilters().size(), "x25Channel.getOutgoingFilters().size()"); assertNull(x25Channel.getServerSocket(), "x25Channel.getServerSocket()"); assertEquals("org.jpos.iso.channel.X25Channel", x25Channel.getOriginalRealm(), "x25Channel.getOriginalRealm()"); assertNull(x25Channel.getRealm(), "x25Channel.getRealm()"); assertNull(x25Channel.getHost(), "x25Channel.getHost()"); }