public void FindByCreatedDateTimeTestNotNull() { // Arrange stockAdjustmentRepository.Save(new StockAdjustment() { StockAdjustmentId = "DOREPOTEST", CreatedDateTime = DateTime.Now, }); // Act var result = stockAdjustmentRepository.FindByCreatedDateTime(DateTime.Now.Date.AddYears(-1), DateTime.Now.Date.AddDays(1)); // Assert Assert.IsTrue(result.Count() >= 1); }