public void SendsEmailToCustomerWithUserNameInSubject()
 {
     A.CallTo(() => emailSender.SendEmailTo("*****@*****.**", emailAddress, string.Format("This email is intended for {0}", userName), "this is an email"))
     .MustHaveHappened(Repeated.Exactly.Once);
 }
        public void SendCustomerEmail(string to)
        {
            var user = User.Identity.Name;

            sendEmail.SendEmailTo("*****@*****.**", to, string.Format("This email is intended for {0}", user), "this is an email");
        }