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))); }
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))); }