private void AssertNotVisibleDateAndScreenshot(DateTime dateTime, DateAndScreenshotViewModel dateAndScreenshotViewModel)
 {
     Assert.AreEqual(dateTime.ToShortDateLongTimeString(), dateAndScreenshotViewModel.DateTime);
     Assert.IsFalse(dateAndScreenshotViewModel.ScreenshotIsVisible);
     Assert.IsNull(dateAndScreenshotViewModel.ScreenshotStatusString);
     Assert.IsNull(dateAndScreenshotViewModel.ScreenshotStatusClass);
     Assert.IsNull(dateAndScreenshotViewModel.ScreenshotUrl);
 }
 private DateAndScreenshotViewModel GetDateAndScreenshot(BetScreenshot betScreenshot, bool screenshotIsVisible)
 {
     var dateAndScreenshot = new DateAndScreenshotViewModel
                                 {
                                     DateTime = betScreenshot.CreationDateTime.ToShortDateLongTimeString(),
                                     ScreenshotIsVisible = screenshotIsVisible
                                 };
     if (screenshotIsVisible)
     {
         dateAndScreenshot.ScreenshotStatusClass = GetBetScreenshotStatusClass(betScreenshot.StatusEnum);
         dateAndScreenshot.ScreenshotStatusString = GetBetScreenshotStatusString(betScreenshot.StatusEnum);
         if (betScreenshot.StatusEnum == BetScreenshotStatus.Succeeded)
             dateAndScreenshot.ScreenshotUrl = _betScreenshotPathService.GetUrl(betScreenshot.FileName);
     }
     
     return dateAndScreenshot;
 }
 private void AssertVisibleDateAndScreenshot(DateTime dateTime, string screenshotStatusString, string screenshotStatusClass, string screenshotUrl, DateAndScreenshotViewModel dateAndScreenshotViewModel)
 {
     Assert.AreEqual(dateTime.ToShortDateLongTimeString(), dateAndScreenshotViewModel.DateTime);
     Assert.IsTrue(dateAndScreenshotViewModel.ScreenshotIsVisible);
     Assert.AreEqual(screenshotStatusString, dateAndScreenshotViewModel.ScreenshotStatusString);
     Assert.AreEqual(screenshotStatusClass, dateAndScreenshotViewModel.ScreenshotStatusClass);
     Assert.AreEqual(screenshotUrl, dateAndScreenshotViewModel.ScreenshotUrl);
 }