public void RestorePasswordEmailCanBeCreated() { var uploadFileService = new FakeUploadFileService(); var textService = new TextService(new FakeLanguageService()); var emailTemplateService = new EmailTemplateService(uploadFileService, textService); var confirmationLink = "https://uniwiki.com/some/confi9438729874"; var registerEmailTemplate = emailTemplateService.GetRestorePasswordText(confirmationLink); Console.WriteLine(registerEmailTemplate); }
public void CanFindEmailTemplates() { var uploadFileService = new FakeUploadFileService(); Assert.IsTrue(Directory.Exists(uploadFileService.EmailTemplatesDirectoryPath)); }