@Test
public void flush() throws CacheException {

    EasyMock.expect(client.flush()).andReturn(getFuture(true));
    EasyMock.replay(client);
    clientWrapper.flush();
    EasyMock.verify(client);
}