@Test
@SuppressWarnings("unchecked")
public void getAvailableServers() {

    Collection<SocketAddress> servers = EasyMock.createMock(Collection.class);
    EasyMock.expect(client.getAvailableServers()).andReturn(servers);
    EasyMock.replay(client);
    assertEquals(servers, clientWrapper.getAvailableServers());
    EasyMock.verify(client);
}