示例#1
0
        public void VolunteerStatisticMapperCreationTest()
        {
            VolunteerStatisticMapper  vsm    = new VolunteerStatisticMapper();
            List <VolunteerStatistic> vsList = new List <VolunteerStatistic>();

            Assert.AreEqual(0, vsList.Count);
            vsList = vsm.getList();
            int size = vsList.Count;

            Assert.AreEqual(size, vsm.getList().Count);
            vsm.ClearList();
            Assert.AreEqual(0, vsm.getList().Count);
        }