常用方法
常用方法
常用方法
常用方法
public void GetDogVaccinationStatisticTestShortPeriod() { ReportsService reports = new ReportsService(); DateTime startPeriod = new DateTime(2011, 10, 11); DateTime endPeriod = new DateTime(2011, 10, 12); int idDog = 1; var dogsStat = reports.GetDogVaccinationStatistic(startPeriod, endPeriod, idDog); Assert.IsNotNull(dogsStat); Assert.AreEqual(1, dogsStat.Vaccinations.Count()); }