@Test
  public void testDeleteExpense_deletionError() {

    long deletedRows = 0;
    long expenseId = 1;

    when(mExpenseDao.deleteExpense(anyLong())).thenReturn(deletedRows);

    mExpensesInboxPresenter.deleteExpense(expenseId);

    verify(mExpenseDao).deleteExpense(anyLong());
    verify(mExpensesInboxActivity).errorDeletion();
  }
  @Test
  public void testDeleteExpense_successfulDeletion() {

    long deletedRows = 1;
    long expenseId = 4;

    when(mExpenseDao.deleteExpense(anyLong())).thenReturn(deletedRows);

    mExpensesInboxPresenter.deleteExpense(expenseId);

    verify(mExpenseDao).deleteExpense(anyLong());
    verify(mExpensesInboxActivity).successfulDeletion();
  }