public MappingEventBrokerExtensionTest()
        {
            this.topicConvention = new Mock<ITopicConvention>();
            this.publication = new Mock<IPublication>();
            this.eventTopic = new Mock<IEventTopic>();
            this.mapper = new Mock<IMapper>();
            this.eventBroker = new Mock<IEventBroker>();
            this.typeProvider = new Mock<IDestinationEventArgsTypeProvider>();

            this.testee = new TestableAutoMapperEventBrokerExtension(this.mapper.Object, this.topicConvention.Object, this.typeProvider.Object);
        }
        public MappingEventBrokerExtensionTest()
        {
            this.topicConvention = new Mock <ITopicConvention>();
            this.publication     = new Mock <IPublication>();
            this.eventTopic      = new Mock <IEventTopic>();
            this.mapper          = new Mock <IMapper>();
            this.eventBroker     = new Mock <IEventBroker>();
            this.typeProvider    = new Mock <IDestinationEventArgsTypeProvider>();

            this.testee = new TestableAutoMapperEventBrokerExtension(this.mapper.Object, this.topicConvention.Object, this.typeProvider.Object);
        }