public void GetInvitationById_NegativeTest() { invitationCollection = GetEmptyInviteCollection(); invitationCollection.AddInvitation(invitation, customer); var id = Guid.NewGuid().ToString(); var invite = invitationCollection.GetInvitationById(id); Assert.IsNull(invite); }
public void GetInvitationById_PostiveTest() { invitationCollection = GetEmptyInviteCollection(); invitationCollection.AddInvitation(invitation, customer); var id = invitation.InvitationId; var invite = (Invitation)invitationCollection.GetInvitationById(id); Assert.AreEqual(id, invite.InvitationId); }