    @Test
    public void shouldIgnoreEmptyIntermediateResponseWhenFinalIsNotDelivered() {

        when(mRequest.isFinished()).thenReturn(false);
        when(mRequest.isIntermediateResponseDelivered()).thenReturn(false);
        when(mRequest.isFinalResponseDelivered()).thenReturn(false);

        mResponseDelivery.postEmptyIntermediateResponse(mRequest, BallResponse.ResponseSource.LOCAL);

        verify(mRequest).setIntermediateResponseDelivered(true);
        verify(mRequest, never()).deliverError(any(VolleyError.class));
        verify(mRequest, never()).finish(anyString());
    }