@Test
public void onNext() throws Exception {

    CakesResponse response = mock(CakesResponse.class);
    CakesResponseCakes[] responseCakes = new CakesResponseCakes[1];
    when(response.getCakes()).thenReturn(responseCakes);
    presenter.onNext(response);
    verify(mCakeMapper, times(1)).mapCakes(mStorage, response);
    verify(mView, times(1)).onClearItems();
    verify(mView, times(1)).onCakeLoaded(anyList());
}