public void TestTimetoDoBalanceReport() { var tk = new FakeTimeKeeper( "2015" ); Assert.IsTrue( tk.PreviousSeason().Equals("2014")); var sut = new BalanceReportJob( tk ); string whyNot; Assert.IsTrue(sut.IsTimeTodo(out whyNot)); Console.WriteLine(whyNot); }
public void TestTimetoDoBalanceReport() { var sut = new BalanceReportJob(new TimeKeeper(null)); string whyNot; Assert.IsFalse(sut.IsTimeTodo(out whyNot)); }