Beispiel #1
0
 public void SetUp()
 {
     _taxOffice = Substitute.For<ITaxOffice>();
     _loanShark = Substitute.For<ILoanShark>();
     _sut = new Wallet(_taxOffice, _loanShark);
 }
Beispiel #2
0
 public Wallet(ITaxOffice taxOffice, ILoanShark loanShark)
 {
     _taxOffice = taxOffice;
     _loanShark = loanShark;
 }