private DomainProcessedScreenshot CreateProcessedScreenshot(ScreenshotParam screenshotParam, string imageParam, string contentType)
 {
     return new DomainProcessedScreenshot
     {
         ImageFormat = imageParam,
         ScreenshotParam = screenshotParam,
         ContentType = contentType,
         Created = DateTime.UtcNow,
         Started = DateTime.UtcNow,
         Modified = DateTime.UtcNow,
         Completed = DateTime.UtcNow
     };
 }
        public void BuildProcessedScreenshotTest()
        {
            //Arrange
            const string imageFormat = "imageFormat";
            const string contentType = "contentType";

            var screenshotAdjuster = new Mock<IScreenshotAdjuster>();
            var builder = new ProcessdScreenshotBuilder(screenshotAdjuster.Object);
            
            var screenshotAdjusterParam = new ScreenshotAdjusterParam();
            var screenshotParm = new ScreenshotParam();

            screenshotAdjuster.Setup(m => m.AdjustScreenshotParam(screenshotAdjusterParam)).Returns(screenshotParm);

            //Act
            var processedScreenshot = builder.BuildProcessedScreenshot(screenshotAdjusterParam, imageFormat, contentType);

            //Assert
            Assert.AreEqual(screenshotParm,processedScreenshot.ScreenshotParam);
            Assert.AreEqual(imageFormat, processedScreenshot.ImageFormat);
            Assert.AreEqual(contentType,processedScreenshot.ContentType);
        }