public void TestReport() { var sut = new FantasyReport( new FakeTimeKeeper(season:"2016", week: "14" )); sut.Render(); Assert.IsTrue( File.Exists( sut.FileOut ) ); Console.WriteLine( "{0} created.", sut.FileOut ); }
public FantasyReportJob( IKeepTheTime timekeeper ) { Name = "Fantasy Report"; Report = new FantasyReport( timekeeper ); TimeKeeper = timekeeper; Logger = LogManager.GetCurrentClassLogger(); IsNflRelated = true; }