@Test
public void shouldCompleteSuccessfullyIfDistributedStoreDeleteCompletesSuccessfully() {

    when(distributedStore.delete(KEY)).thenReturn(Futures.<Void>immediateFuture(null));
    // jersey special-cases the situation where you specify
    // ClientResponse.class as the return type and returns the actual
    // response
    ClientResponse response = client().resource(REQUEST_URI).delete(ClientResponse.class);
    assertThat(response.getClientResponseStatus(), equalTo(ClientResponse.Status.NO_CONTENT));
}