public void When()
 {
     try
     {
         _account.Debit(700);
     }
     catch (InsufficientException)
     {
         exception_thrown = true;
     }
 }
Beispiel #2
0
 public void When()
 {
     _account.Debit(100);
 }