@Test
public void shouldPostNoResponseWhenContentIsNull() throws Exception {

    // local request processor returns null reponse
    Mockito.when(mLocalRequestProcessor.getLocalResponse()).thenReturn(null);
    Assertions.assertThat(mLocalDispatcher.dispatch()).isEqualTo(true);
    Mockito.verify(mRequestQueue).take();
    Mockito.verify(mRequest).addMarker("local-queue-take");
    Mockito.verify(mRequest).addMarker("local-response-content-null-exit");
    Mockito.verify(mResponseDelivery).postEmptyIntermediateResponse(mRequest, BallResponse.ResponseSource.LOCAL);
    Mockito.verifyNoMoreInteractions(mResponseDelivery);
}