Пример #1
0
 public void GetIndicatorsByProviderIdTest()
 {
     IndicatorDAO target = new IndicatorDAO(connnetion);
     int providerId = 1;
     Nullable<int> page = new Nullable<int>(1);
     Nullable<int> recordsPerPage = new Nullable<int>(1);
     IEnumerable<Indicator> actual;
     actual = target.GetIndicatorsByProviderId(providerId, page, recordsPerPage);
     Assert.AreNotEqual(actual, null);
     Assert.AreEqual(actual.Count(), 1);
 }