public void OperationStatisticMapperTeamCountTest() { OperationStatisticMapper osm = new OperationStatisticMapper(); int teamCount = osm.getTeamCountFromDB(); Assert.AreEqual(0, teamCount); }
public void OperationStatisticMapperVolunteerCountTest() { OperationStatisticMapper osm = new OperationStatisticMapper(); int volunteerCount = osm.getVolunteerCountFromDB(); Assert.AreEqual(0, volunteerCount); }
public void OperationStatisticMapperCreationTest() { OperationStatisticMapper osm = new OperationStatisticMapper(); List <OperationStatistic> osList = new List <OperationStatistic>(); Assert.AreEqual(0, osm.getList().Count); osList = osm.getList(); Assert.AreEqual(osList.Count, osm.getList().Count); osm.ClearList(); Assert.AreEqual(0, osm.getList().Count); }