public void TestDoAssignRolesJob() { var sut = new AssignRolesJob(new TimeKeeper(null)); var outcome = sut.DoJob(); Assert.IsFalse(string.IsNullOrEmpty(outcome)); }
public void TestTimetoDoJob() { var sut = new AssignRolesJob( new FakeTimeKeeper( isPreSeason: true, isPeakTime: false ) ); string whyNot; Assert.IsFalse(sut.IsTimeTodo(out whyNot)); Console.WriteLine(whyNot); }