예제 #1
0
 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);
 }
예제 #2
0
 public void TestTimetoDoBalanceReport()
 {
     var sut = new BalanceReportJob(new TimeKeeper(null));
      string whyNot;
      Assert.IsFalse(sut.IsTimeTodo(out whyNot));
 }