public async void Have_FamilyMembers(Baby baby, IEnumerable <string> familyMembers) { // Arrange var(_, createBabyResponse) = await _apiHelper.CreateBaby(baby.Name, baby.Age); // Act var responseStatusCode = await _apiHelper.AddFamilyMembers(createBabyResponse.BabyId, familyMembers); // Assert responseStatusCode.ShouldBe(HttpStatusCode.OK); var(statusCode, getBabyResponse) = await _apiHelper.QueryBaby(createBabyResponse.BabyId); statusCode.ShouldBe(HttpStatusCode.OK); getBabyResponse.FamilyMembers.Count().ShouldBe(familyMembers.Count()); }