public void GetTotalIndicatorsTest() { IndicatorDAO target = new IndicatorDAO(connnetion); int providerId = 1; long expected = 1; long actual; actual = target.GetTotalIndicators(providerId, null, null); Assert.AreEqual(expected, actual); }
public void GetTotalIndicatorsByThemesTest() { IndicatorDAO target = new IndicatorDAO(connnetion); int providerId = 1; Nullable<int> themeId = new Nullable<int>(1); Nullable<int> subThemeId = new Nullable<int>(1); long expected = 1; long actual; actual = target.GetTotalIndicators(providerId, themeId, subThemeId); Assert.AreEqual(expected, actual); }