public void print_deposit() { var deposit = new Deposit(400m, "20/08/2016"); _statement.Add(deposit); _statement.PrintWith(_statementPrinter); _statementPrinter.Received().Visit(deposit); }
public void print_deposit() { var deposit = new Deposit(400m, "20/08/2016"); _statement.Add(deposit); _statement.PrintWith(_statementPrinter); _statementPrinter.Received().Visit(deposit); }