public void TestGetList() { //模拟返回结果 _stubIPersonnelSao.GetList = () => new List <PersonnelInfo>(); var result = _personnelManager.GetList(); Assert.IsNotNull(result); }
public void PersonnelList() { DtgPersonnels.DataSource = personnelManager.GetList(); personnel = null; Clear(); }