예제 #1
0
 public void ShouldInitialiseTheSeasonFromLastSeason()
 {
     var sut = new RankingsJob(
     new FakeTimeKeeper( new System.DateTime( 2016,9,9 ) ),
     force: true );
      var outcome = sut.DoJob();
      Assert.IsFalse( string.IsNullOrEmpty( outcome ) );
 }
예제 #2
0
 public override string DoJob()
 {
     // pre-req
      var preJob = new RankingsJob( TimeKeeper, force: true );
      var outcome = preJob.Execute();
      Logger.Info("Rankings {0}", outcome );
      return Report.DoReport();
 }
예제 #3
0
 public void TestTeamRankerJob()
 {
     var sut = new RankingsJob( new FakeTimeKeeper( "2015", "08" ) );
     var outcome = sut.DoJob();
     Assert.IsFalse( string.IsNullOrEmpty( outcome ) );
 }