Code example for InetSocketAddress

0
	} 
 
	@Test 
	public void testUnequalDatabusServerCoordinates() 
	{ 
		InetSocketAddress ia1 = new InetSocketAddress("localhost", 9001); 
		InetSocketAddress ia2 = new InetSocketAddress("localhost", 9002); 
 
		DatabusServerCoordinates rc1 = new DatabusServerCoordinates("DatabusServerCoordinates1", ia1, "ONLINE"); 
		DatabusServerCoordinates rc2 = new DatabusServerCoordinates("DatabusServerCoordinates1", ia2, "ONLINE"); 
		 
		assertEquals(rc1.equals(rc2), false); 
	} 
 
 
	@Test 
	public void testUnequalDatabusServerCoordinates2() 
	{ 
		InetSocketAddress ia1 = new InetSocketAddress("localhost", 9001); 
 
		DatabusServerCoordinates rc1 = new DatabusServerCoordinates("DatabusServerCoordinates1", ia1, "ONLINE");