System.out.println("port=" + port + ", port2=" + port2);
assertNotSame(port, port2);
}
public void testRemove() {
pm=new PortsManager(10000);
int port=pm.getNextAvailablePort(START_PORT);
int old_port=port;
System.out.println("port = " + port);
assertEquals(START_PORT, port);
int port2=pm.getNextAvailablePort(START_PORT);