Пример #1
0
        public NotificationEmailSenderTests()
        {
            A.CallTo(() => urlGenerator.UI())
            .Returns(uiUrl);

            sut = new NotificationEmailSender(Options.Create(texts), emailSender, urlGenerator, log);
        }
Пример #2
0
        public NotificationEmailSenderTests()
        {
            A.CallTo(() => assigner.Email)
            .Returns("*****@*****.**");
            A.CallTo(() => assigner.Claims)
            .Returns(assignerClaims);

            A.CallTo(() => user.Email)
            .Returns("*****@*****.**");
            A.CallTo(() => user.Claims)
            .Returns(assigneeClaims);

            A.CallTo(() => urlGenerator.UI())
            .Returns(uiUrl);

            sut = new NotificationEmailSender(Options.Create(texts), emailSender, urlGenerator, log);
        }