コード例 #1
0
  @Test
  public void andTransferCanNotBeAddedIfAccountListHasOnlyAccount() throws Exception {
    maker.makeSavedAccount();
    LedgerViewModel ledger = maker.getLedger();

    assertFalse(ledger.isAbleToAddTransfer());
  }
コード例 #2
0
  @Test
  public void andTransferCanNotBeAddedIfAccountListIsEmpty() throws Exception {
    LedgerViewModel ledger = maker.getLedger();

    assertFalse(ledger.isAbleToAddTransfer());
  }