public void GetPerson() { //arrange var list = GetPersonList(); //act var result = _sut.GetPerson(_personGroupId, list.First().PersonId); //assert Assert.IsNotNull(result); Assert.AreEqual(_theRockName, result.Name); }
public async Task <Person> GetPerson(string personId) { return(await api.GetPerson("authorized", personId)); }