public void Participant_AsGetParticipantResponse_NoTeam_TeamIsNull() { //Arrange var participant = new Participant() { Id = 1, Email = "test-email", Forename = "test-forename", Surname = "test-surname" }; //Act var response = participant.AsGetParticipantResponse(); //Assert Assert.AreEqual(participant.Email, response.Email); Assert.AreEqual(participant.Forename, response.Forename); Assert.AreEqual(participant.Surname, response.Surname); Assert.AreEqual(participant.Id, response.Id); Assert.IsNull(response.Team); }