public Butler(string version, IKeepTheTime timekeeper ) { Version = version; if ( timekeeper != null ) TimeKeeper = timekeeper; else TimeKeeper = new TimeKeeper( null ); Historian = new Historian(); Logger = LogManager.GetCurrentClassLogger(); Logger.Info( "ver:{0}", Version); }
public void TestHistorian() { var sut = new Historian(); var theDate = sut.LastRun(new OldRosterGridReports()); Assert.AreEqual(new DateTime(2013, 11, 3).Date, theDate.Date); }