public void DomainReportToDtoTest()
        {
            //Arrange
            var startDate = new DateTime(21341222);
            var endDate   = new DateTime(4352435234);
            var interval  = new Interval()
            {
                Finish = endDate, Start = startDate
            };
            var domainReport = new DomainReport()
            {
                Interval                       = "interval",
                AllRegistrations               = 12,
                CicIPadDeletions               = 23,
                CicIPadRegistrations           = 34,
                CicIPadSuccessfulUploads       = 45,
                CicIPadUploadCancels           = 445,
                CicMacDeletions                = 56,
                CicMacRegistrations            = 67,
                CicMacSuccessfulUploads        = 78,
                CicMacUploadCancels            = 778,
                CicPcDeletions                 = 89,
                CicPcRegistrations             = 90,
                CicPcSuccessfulUploads         = 123,
                CicPcUploadCancels             = 1123,
                EmailRegistrations             = 234,
                EmbeddedViews                  = 345,
                FacebookRegistrations          = 456,
                GoogleRegistrations            = 567,
                TaggerIPhoneDeletions          = 678,
                TaggerIPhoneRegistrations      = 789,
                TaggerIPhoneUploads            = 890,
                TaggerIPhoneUploadCancels      = 990,
                TotalViews                     = 901,
                WindowsLiveRegistrations       = 1234,
                YahooRegistrations             = 2345,
                ImageShackDeletions            = 11,
                ImageShackRegistrations        = 22,
                ImageShackSuccessfulUploads    = 33,
                ImageShackUploadCancels        = 44,
                TwitterRegistrations           = 111,
                BrowserRegistrations           = 112,
                OtherRegistrations             = 113,
                PlayerDeletions                = 114,
                PlayerRegistrations            = 115,
                PlayerSuccessfulUploads        = 116,
                PlayerUploadCancels            = 117,
                StandaloneDeletions            = 118,
                StandaloneRegistrations        = 119,
                StandaloneSuccessfulUploads    = 221,
                StandaloneUploadCancels        = 223,
                TaggerAndroidDeletions         = 224,
                TaggerAndroidRegistrations     = 225,
                TaggerAndroidSuccessfulUploads = 226,
                TaggerAndroidUploadCancels     = 227,
                DailyMotionDeletions           = 228,
                DailyMotionRegistrations       = 229,
                DailyMotionSuccessfulUploads   = 331,
                DailyMotionUploadCancels       = 332,
                VkRegistrations                = 333,
                JwPlayerDeletions              = 334,
                JwPlayerRegistrations          = 335,
                JwPlayerSuccessfulUploads      = 336,
                JwPlayerUploadCancels          = 447,
                OdnoklassnikiRegistrations     = 448
            };

            var mapper = new ReportMapper(_tableValueConverter.Object);

            //Act
            var report = mapper.DomainReportToDto(domainReport, interval);

            //Assert
            Assert.AreEqual(startDate, report.Interval.Start);
            Assert.AreEqual(endDate.Subtract(TimeSpan.FromTicks(1)), report.Interval.End);
            Assert.AreEqual(domainReport.AllRegistrations, report.AllRegistrations);
            Assert.AreEqual(domainReport.CicIPadDeletions, report.CicIPadDeletions);
            Assert.AreEqual(domainReport.CicIPadRegistrations, report.CicIPadRegistrations);
            Assert.AreEqual(domainReport.CicIPadSuccessfulUploads, report.CicIPadSuccessfulUploads);
            Assert.AreEqual(domainReport.CicIPadUploadCancels, report.CicIPadUploadCancels);
            Assert.AreEqual(domainReport.CicMacDeletions, report.CicMacDeletions);
            Assert.AreEqual(domainReport.CicMacRegistrations, report.CicMacRegistrations);
            Assert.AreEqual(domainReport.CicMacSuccessfulUploads, report.CicMacSuccessfulUploads);
            Assert.AreEqual(domainReport.CicMacUploadCancels, report.CicMacUploadCancels);
            Assert.AreEqual(domainReport.CicPcDeletions, report.CicPcDeletions);
            Assert.AreEqual(domainReport.CicPcRegistrations, report.CicPcRegistrations);
            Assert.AreEqual(domainReport.CicPcSuccessfulUploads, report.CicPcSuccessfulUploads);
            Assert.AreEqual(domainReport.CicPcUploadCancels, report.CicPcUploadCancels);
            Assert.AreEqual(domainReport.EmailRegistrations, report.EmailRegistrations);
            Assert.AreEqual(domainReport.EmbeddedViews, report.EmbeddedViews);
            Assert.AreEqual(domainReport.FacebookRegistrations, report.FacebookRegistrations);
            Assert.AreEqual(domainReport.GoogleRegistrations, report.GoogleRegistrations);
            Assert.AreEqual(domainReport.TaggerIPhoneDeletions, report.TaggerIPhoneDeletions);
            Assert.AreEqual(domainReport.TaggerIPhoneRegistrations, report.TaggerIPhoneRegistrations);
            Assert.AreEqual(domainReport.TaggerIPhoneUploads, report.TaggerIPhoneSuccessfulUploads);
            Assert.AreEqual(domainReport.TaggerIPhoneUploadCancels, report.TaggerIPhoneUploadCancels);
            Assert.AreEqual(domainReport.TotalViews, report.TotalViews);
            Assert.AreEqual(domainReport.WindowsLiveRegistrations, report.WindowsLiveRegistrations);
            Assert.AreEqual(domainReport.YahooRegistrations, report.YahooRegistrations);
            Assert.AreEqual(domainReport.ImageShackDeletions, report.ImageShackDeletions);
            Assert.AreEqual(domainReport.ImageShackRegistrations, report.ImageShackRegistrations);
            Assert.AreEqual(domainReport.ImageShackSuccessfulUploads, report.ImageShackSuccessfulUploads);
            Assert.AreEqual(domainReport.ImageShackUploadCancels, report.ImageShackUploadCancels);
            Assert.AreEqual(domainReport.TwitterRegistrations, report.TwitterRegistrations);
            Assert.AreEqual(domainReport.OdnoklassnikiRegistrations, report.OdnoklassnikiRegistrations);

            Assert.AreEqual(domainReport.BrowserRegistrations, report.BrowserRegistrations);
            Assert.AreEqual(domainReport.OtherRegistrations, report.OtherRegistrations);
            Assert.AreEqual(domainReport.TaggerAndroidDeletions, report.TaggerAndroidDeletions);
            Assert.AreEqual(domainReport.TaggerAndroidRegistrations, report.TaggerAndroidRegistrations);
            Assert.AreEqual(domainReport.TaggerAndroidSuccessfulUploads, report.TaggerAndroidSuccessfulUploads);
            Assert.AreEqual(domainReport.TaggerAndroidUploadCancels, report.TaggerAndroidUploadCancels);
            Assert.AreEqual(domainReport.StandaloneDeletions, report.StandaloneDeletions);
            Assert.AreEqual(domainReport.StandaloneRegistrations, report.StandaloneRegistrations);
            Assert.AreEqual(domainReport.StandaloneSuccessfulUploads, report.StandaloneSuccessfulUploads);
            Assert.AreEqual(domainReport.StandaloneUploadCancels, report.StandaloneUploadCancels);
            Assert.AreEqual(domainReport.PlayerDeletions, report.PlayerDeletions);
            Assert.AreEqual(domainReport.PlayerRegistrations, report.PlayerRegistrations);
            Assert.AreEqual(domainReport.PlayerSuccessfulUploads, report.PlayerSuccessfulUploads);
            Assert.AreEqual(domainReport.PlayerUploadCancels, report.PlayerUploadCancels);
            Assert.AreEqual(domainReport.DailyMotionDeletions, report.DailyMotionDeletions);
            Assert.AreEqual(domainReport.DailyMotionRegistrations, report.DailyMotionRegistrations);
            Assert.AreEqual(domainReport.DailyMotionSuccessfulUploads, report.DailyMotionSuccessfulUploads);
            Assert.AreEqual(domainReport.DailyMotionUploadCancels, report.DailyMotionUploadCancels);
            Assert.AreEqual(domainReport.VkRegistrations, report.VkRegistrations);
            Assert.AreEqual(domainReport.JwPlayerDeletions, report.JwPlayerDeletions);
            Assert.AreEqual(domainReport.JwPlayerRegistrations, report.JwPlayerRegistrations);
            Assert.AreEqual(domainReport.JwPlayerSuccessfulUploads, report.JwPlayerSuccessfulUpload);
            Assert.AreEqual(domainReport.JwPlayerUploadCancels, report.JwPlayerUploadCancels);
        }