public void print_deposit_transaction() { var lineToPrint = _statementPrinter.Visit(new Deposit(500.00m, "31/08/2016")); Assert.That(lineToPrint, Is.EqualTo("31/08/2016 || 500.00 || || ")); }