Ejemplo n.º 1
0
        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);
        }