示例#1
0
        public void TicketShouldAttachASupportUserToHelp()
        {
            //Come from repository
            LedgerIdentityUser user = new LedgerIdentityUser(Guid.NewGuid());

            ticket.AssignSupportUser(user.Id);

            Assert.AreEqual(user.Id, ticket.SupportUserId);
            Assert.IsTrue(ticket.AlreadyHaveSupport());
        }