assertEquals("(X25Channel) x25Channel.getPort()", 100, x25Channel.getPort());
}
@Test
public void testSetServerSocket() throws Throwable {
BaseChannel x25Channel = new X25Channel();
ServerSocket sock = new ServerSocket();
x25Channel.setServerSocket(sock);
assertSame("(X25Channel) x25Channel.serverSocket", sock, ((X25Channel) x25Channel).serverSocket);
assertEquals("(X25Channel) x25Channel.getPort()", 0, x25Channel.getPort());
assertNull("(X25Channel) x25Channel.getHost()", x25Channel.getHost());
assertEquals("(X25Channel) x25Channel.getName()", "", x25Channel.getName());
}