Пример #1
0
        public void test_setup()
        {
            this.authContextMock = new Mock<IAuthenticationContext>();
            this.authContextMock.Setup(x => x.SignOut());

            this.handler = new LogOut.GetHandler(authContextMock.Object);
        }
Пример #2
0
        public void test_setup()
        {
            this.formsAuthenticationMock = new Mock <IFormsAuthenticationWrapper>();
            this.formsAuthenticationMock.Setup(x => x.SignOut());

            this.handler = new LogOut.GetHandler(formsAuthenticationMock.Object);
        }
Пример #3
0
        public void test_setup()
        {
            this.formsAuthenticationMock = new Mock<IFormsAuthenticationWrapper>();
            this.formsAuthenticationMock.Setup(x => x.SignOut());

            this.handler = new LogOut.GetHandler(formsAuthenticationMock.Object);
        }