public void CreateHandlerDecorator_CreatesDefaultDecorator(IEventScopeFactory factory, Type scopeType) { IHandler decorator = factory.CreateHandlerDecorator(A.Fake <IHandler>()); decorator.Should().BeOfType <ScopingHandlerDecorator>(); }