Пример #1
0
        public void TestGetList()
        {
            //模拟返回结果
            _stubIPersonnelSao.GetList = () => new List <PersonnelInfo>();
            var result = _personnelManager.GetList();

            Assert.IsNotNull(result);
        }
Пример #2
0
 public void PersonnelList()
 {
     DtgPersonnels.DataSource = personnelManager.GetList();
     personnel = null;
     Clear();
 }