@Test
public void showAllGraphs() {

    when(databaseAssistant.isReceiptsTableEmpty(trip)).thenReturn(Single.just(false));
    when(preferenceManager.get(UserPreference.Receipts.UsePaymentMethods)).thenReturn(true);
    presenter.subscribe(trip);
    verify(graphsView).showEmptyText(false);
    verify(graphsView).present(sumByCategoryIndicator);
    verify(graphsView).present(sumByPaymentMethodIndicator);
    verify(graphsView).present(sumByDateIndicator);
    verify(graphsView).present(sumByReimbursementIndicator);
}