public void TestCurrentGeneratePlayerProjectionsJob() { // upcoming week only var sut = new GeneratePlayerProjectionsJob(new TimeKeeper(null)); var resultOut = sut.DoJob(); Assert.IsTrue(resultOut.Length > 0); }
public void TestGeneratePlayerProjectionsJob() { var sut = new GeneratePlayerProjectionsJob( new FakeTimeKeeper( isPreSeason:true, isPeakTime:false) ); var resultOut = sut.DoJob(); Assert.IsTrue( resultOut.Length > 0 ); }