コード例 #1
0
 private void AssertHtmlView(MockEmail email, TemplateEmail templateEmail, ICommunicationRecipient inviter, RegisteredUser invitee, Request invitation, EmailVerification emailVerification)
 {
     email.AssertHtmlView(GetBody(templateEmail, invitee, GetContent(templateEmail, inviter, invitee, invitation, emailVerification)));
 }
コード例 #2
0
        private void AssertHtmlView(MockEmail email, TemplateEmail templateEmail, Member inviter, RegisteredUser invitee, Request invitation, EmailVerification emailVerification)
        {
            var friendCount = Resolve <IMemberContactsQuery>().GetFirstDegreeContacts(inviter.Id).Count;

            email.AssertHtmlView(GetBody(templateEmail, invitee, GetContent(templateEmail, inviter, invitee, friendCount, invitation, emailVerification)));
        }