Beispiel #1
0
        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);
        }
Beispiel #2
0
 public async Task <Person> GetPerson(string personId)
 {
     return(await api.GetPerson("authorized", personId));
 }