@Test
public void shouldReturnNotFoundIfGetFailsBecauseAKeyNotFoundExceptionIsThrown() {

    when(distributedStore.get(KEY)).thenReturn(Futures.<KeyValue>immediateFailedFuture(new KeyNotFoundException(KEY)));
    assertThatValidGetRequestReturnsErrorStatus(ClientResponse.Status.NOT_FOUND);
}