コード例 #1
0
 public void TestTimeToDoPlayoffTeamsJob()
 {
     var sut = new PlayOffTeamsJob(new FakeTimeKeeper(isPreSeason: true, isPeakTime: false));
     string whyNot;
     Assert.IsFalse(sut.IsTimeTodo(out whyNot));
     Console.WriteLine(whyNot);
 }
コード例 #2
0
 public void TestDoPlayoffTeamsJob()
 {
     var sut = new PlayOffTeamsJob(new TimeKeeper(null));
      var outcome = sut.DoJob();
      Assert.IsFalse(string.IsNullOrEmpty(outcome));
 }