public void Setup()
        {
            Executor = new StepDefinitionsExecutor();

            Executor.InitializeDependencyResolver();
            Executor.InitializeMessageBus();
            Executor.ResetInMemoryTestData();
            Executor.RemoveRequestQueues();
        }
        public void TestSendingOneMessageToOneSubscriberFollowingToOneMessageToTwoSubscribers()
        {
            using (var executor = new StepDefinitionsExecutor())
            {
                executor.InitializeMessageBus();

                PublishOneMessageToOneSubscriber(executor);
                AssertOnlyOneMessageWasReceived(executor);

                PublishOneMessageToTwoSubscribers(executor);
                AssertTheSameMessageWasReceivedByBothSubscribers(executor);
            }
        }