@Test
public void shouldReturnInternalServerErrorWithNoLocationIfGetFailsBecauseNotLeaderExceptionIsThrownWithTheLeaderSetToAnInvalidLeader() {

    when(distributedStore.get(KEY)).thenReturn(Futures.<KeyValue>immediateFailedFuture(new NotLeaderException(self, "UNKNOWN_LEADER")));
    assertThatValidGetRequestReturnsErrorStatus(ClientResponse.Status.INTERNAL_SERVER_ERROR);
}