@Test
public final void testEquals() {

	HttpClient client1 = new HttpClient("0", "url1", true);
	HttpClient client2 = new HttpClient("0", "url1", true);
	HttpClient client3 = new HttpClient("0", "url2", true);
	HttpClient client4 = new HttpClient("0", "url1", false);
	HttpClient client5 = new HttpClient("1", "url1", true);
	assertEquals(client1, client1);
	assertEquals(client1, client2);
	assertNotEquals(client1, client3);
	assertNotEquals(client1, client4);
	assertNotEquals(client1, client5);
	assertNotEquals(client1, null);
	assertNotEquals(client1, new Object());
	assertEquals(client1.hashCode(), client1.hashCode());
	assertEquals(client1.hashCode(), client2.hashCode());
	assertNotEquals(client1.hashCode(), client3.hashCode());
	assertNotEquals(client1.hashCode(), client4.hashCode());
	assertNotEquals(client1.hashCode(), client5.hashCode());
}