}
@Test
public void testRemove() throws Exception {
final LocalRoutePool pool = new LocalRoutePool();
final HttpConnection conn1 = Mockito.mock(HttpConnection.class);
final LocalPoolEntry entry1 = pool.add(conn1);
final HttpConnection conn2 = Mockito.mock(HttpConnection.class);
final LocalPoolEntry entry2 = pool.add(conn2);
final HttpConnection conn3 = Mockito.mock(HttpConnection.class);
final LocalPoolEntry entry3 = pool.add(conn3);
Assert.assertNotNull(entry1);
Assert.assertNotNull(entry2);
Assert.assertNotNull(entry3);