public void GetProfile() { var fotkaApi = new FotkaApi(); var profiles = fotkaApi.GetOnLineProfiles(); var fullProfiles = new List<Profile>(); profiles.Take(10).ToList().ForEach(p => { fullProfiles.Add(fotkaApi.GetProfile(p.Name)); }); fullProfiles.ForEach(fp=> { Assert.AreNotEqual(true, string.IsNullOrEmpty(fp.Name)); Assert.AreNotEqual(true, string.IsNullOrEmpty(fp.PhotoUrl)); }); }