Пример #1
0
        public static TransportExtensions <FakeTransport> CollectStartupSequence(this TransportExtensions <FakeTransport> transportExtensions, FakeTransport.StartUpSequence startUpSequence)
        {
            transportExtensions.GetSettings().Set(startUpSequence);

            return(transportExtensions);
        }
Пример #2
0
        public static TransportExtensions <FakeTransport> AssertSettings(this TransportExtensions <FakeTransport> transportExtensions, Action <ReadOnlySettings> assertion)
        {
            transportExtensions.GetSettings().Set("FakeTransport.AssertSettings", assertion);

            return(transportExtensions);
        }
Пример #3
0
        public static TransportExtensions <FakeTransport> WhenQueuesCreated(this TransportExtensions <FakeTransport> transportExtensions, Action <QueueBindings> onQueueCreation)
        {
            transportExtensions.GetSettings().Set("FakeTransport.onQueueCreation", onQueueCreation);

            return(transportExtensions);
        }