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