public void ThenTheGolfClubAdministratorsDetailsAreReturnedForGolfClub(String golfClubNumber) { RegisterClubAdministratorRequest registerClubAdministratorRequest = this.TestingContext.GetRegisterClubAdministratorRequest(golfClubNumber); GolfClubUserResponse user = this.TestingContext.GetGolfClubUserListResponse.SingleOrDefault(u => u.Email == registerClubAdministratorRequest.EmailAddress); user.ShouldNotBeNull(); }
public void ThenTheMatchSecretarysDetailsAreReturnedForGolfClub(String golfClubNumber) { GolfClubUserResponse user = this.TestingContext.GetGolfClubUserListResponse.SingleOrDefault(u => u.Email == this.TestingContext.CreateMatchSecretaryRequest.EmailAddress); user.ShouldNotBeNull(); }