Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void TestHistorian()
 {
     var sut = new Historian();
      var theDate = sut.LastRun(new OldRosterGridReports());
      Assert.AreEqual(new DateTime(2013, 11, 3).Date, theDate.Date);
 }