public void GetInviteeEmailAddress_ReturnsInviteeEmailAddress_String() { //Arrange string inviteeName = "Jane Doe"; string inviteeEmailAddress = "*****@*****.**"; Invitee newInvitee = new Invitee(inviteeName, inviteeEmailAddress); //Act string result = newInvitee.GetInviteeEmailAddress(); //Assert Assert.AreEqual(inviteeEmailAddress, result); }
public void SetInviteeEmailAddress_SetInviteeEmailAddress_String() { //Arrange string inviteeName = "Jane Doe"; string inviteeEmailAddress = "*****@*****.**"; Invitee newInvitee = new Invitee(inviteeName, inviteeEmailAddress); //Act string updatedInviteeEmailAddress = "*****@*****.**"; newInvitee.SetInviteeEmailAddress(updatedInviteeEmailAddress); string result = newInvitee.GetInviteeEmailAddress(); //Assert Assert.AreEqual(updatedInviteeEmailAddress, result); }