public void TestGetWorkResultsForPeriodGetAll()
        {
            // Arrange
            var mockDataContext = GenerateMockDataContext();
            var repository      = new WorkResultRepository(mockDataContext);

            // Act
            var results = repository.GetWorkResultsForPeriod(DateTime.MinValue, DateTime.MaxValue);

            // Assert
            Assert.NotNull(results);
            Assert.Equal(10, results.Count);
        }
        public void TestGetWorkResultsForPeriod()
        {
            // Arrange
            var mockDataContext = GenerateMockDataContext();
            var repository      = new WorkResultRepository(mockDataContext);

            // Act
            var results = repository.GetWorkResultsForPeriod(DateTime.Now.AddDays(-1.5), DateTime.Now);

            // Assert
            Assert.NotNull(results);
            Assert.Equal(2, results.Count);
        }