예제 #1
0
        public void CreateHandlerDecorator_CreatesDefaultDecorator(IEventScopeFactory factory, Type scopeType)
        {
            IHandler decorator = factory.CreateHandlerDecorator(A.Fake <IHandler>());

            decorator.Should().BeOfType <ScopingHandlerDecorator>();
        }