public void GetCatsByFeMaleOwner() { // Arrange CatService catBusiness = new CatService(new PeopleRepository()); Dictionary <Gender, IEnumerable <Pet> > result = catBusiness.GetCatsByOwnerGender(); // Assert Assert.IsNotNull(result); Assert.IsNotNull(result[Gender.Female]); Assert.AreEqual("Garfield", result[Gender.Female].ToList()[0].name); }