Пример #1
0
        public void then_authentication_challenger_is_invoked()
        {
            // given

            // when
            when_sending_notification <KnownStages.IResponseCoding>();

            // then
            IsContributorExecuted.ShouldBeTrue();
        }
        public void Authentication_IsInvokedAfterIBegin()
        {
            // given
            given_pipeline_contributor <AuthenticationContributor>();

            // when
            when_sending_notification <KnownStages.IBegin>();

            // then
            IsContributorExecuted.ShouldBeTrue();
        }
Пример #3
0
        public void Authentication_IsInvokedBeforeIHandlerSelection()
        {
            // given
            given_pipeline_contributor <AuthenticationContributor>();

            // when
            when_sending_notification <KnownStages.IHandlerSelection>();

            // then
            IsContributorExecuted.ShouldBeTrue();
        }
Пример #4
0
 public void then_contributor_is_executed()
 {
     IsContributorExecuted.ShouldBeTrue();
 }