public async void ShouldReturnReturnPhotosForAuthenticatedUserAsync() { var photos = await AuthInstance.PeopleGetPhotosAsync(Data.UserId); Assert.IsNotNull(photos); Assert.IsNotEmpty(photos); Assert.IsTrue(photos.All(p => p.UserId == Data.UserId)); }
public void ShouldReturnReturnPhotosForAuthenticatedUserAsync() { var photos = AuthInstance.PeopleGetPhotosAsync(Data.UserId).Result; Assert.IsNotNull(photos); Assert.AreNotEqual(0, photos.Count); Assert.IsTrue(photos.All(p => p.UserId == Data.UserId)); }