@Test
public void onError() throws Exception {

    presenter.onError(new Throwable(TEST_ERROR_MESSAGE));
    verify(mView, times(1)).onHideDialog();
    verify(mView, times(1)).onShowToast("Error loading cakes " + TEST_ERROR_MESSAGE);
}