public void TestTimetoDoJob() { var sut = new FreeAgentMarketJob( new FakeTimeKeeper( isPreSeason:true, isPeakTime:false) ); string whyNot; Assert.IsTrue( sut.IsTimeTodo( out whyNot ) ); Console.WriteLine( whyNot ); }
public void TestFaMarketJob() { var sut = new FreeAgentMarketJob( new FakeTimeKeeper(season:"2016") ); var outcome = sut.DoJob(); Assert.IsFalse( string.IsNullOrEmpty( outcome ) ); }