@Test
public void shouldReturnServiceUnavailableWithNoLocationIfGetFailsBecauseNotLeaderExceptionIsThrownWithTheLeaderSetToNull() {

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