Exemplo n.º 1
0
        public void TestGetList()
        {
            //模拟返回结果
            _stubIPersonnelSao.GetList = () => new List <PersonnelInfo>();
            var result = _personnelManager.GetList();

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
 public void PersonnelList()
 {
     DtgPersonnels.DataSource = personnelManager.GetList();
     personnel = null;
     Clear();
 }