public void TestGetByAccountNo() { var account = "tester"; //模拟返回结果 _stubIPersonnelSao.GetString = accountNo => new PersonnelInfo(new LoginAccountInfo()); var result = _personnelManager.Get(account); Assert.IsNotNull(result); }