Пример #1
0
 public void TearDownTest()
 {
     DateTimeComponentsConversionToDateTime.SetDateTimeNowAdapter(new SystemDateTimeNowAdapter());
 }
Пример #2
0
 public void SetUpTest()
 {
     _nowAdapter = new TestDateTimeNowAdapter(DateTime.Now);
     DateTimeComponentsConversionToDateTime.SetDateTimeNowAdapter(_nowAdapter);
 }