public async Task StorageService_GetStatistics() { var data = new Statistics <TimesheetStatistics> { Id = "AA" }; _tableClientService.QueryAsync <Statistics <TimesheetStatistics> >("Date eq '2020-10-01' AND Time eq '20:00'", 1000).Returns(new[] { data }.AsQueryable()); var result = await _storageService.GetStatisticsAsync <TimesheetStatistics>("2020-10-01", "20:00"); Assert.AreEqual(result.First().Id, "AA"); }