Exemple #1
0
        public void UpdateEmailTemplate_ReturnsVoid()
        {
            _mockEmailTemplate.Setup(x => x.UpdateOne(It.IsAny <UpdateDefinition <EmailTemplate> >()
                                                      , It.IsAny <FilterDefinition <EmailTemplate> >(), It.IsAny <string>()));

            Assert.DoesNotThrow(() => _emailTemplateAdapter.UpdateEmailTemplate(new EmailTemplate()));
        }
 public void UpdateEmailTemplate(EmailTemplate template)
 {
     _mailTemplateAdapter.UpdateEmailTemplate(template);
 }