@Test
public void shouldReturnServiceUnavailableWithNoLocationIfDeleteFailsBecauseNotLeaderExceptionIsThrownWithTheLeaderSetToNull() {

    when(distributedStore.delete(KEY)).thenReturn(Futures.<Void>immediateFailedFuture(new NotLeaderException(self, null)));
    assertThatValidDeleteRequestReturnsErrorStatus(ClientResponse.Status.SERVICE_UNAVAILABLE);
}