public void Setup()
            {
                Rabbit.Initialize();

                _awaiter =
                    new ResponseAwaiter(
                        new MessageFormatter(new Utf8MessageSerializer(null), new JsonMessageStringifier(null), null),
                        null);

                _awaiter.EnsureInitialized();
            }
            public void Setup()
            {
                Rabbit.Initialize();

                _awaiter =
                    new ResponseAwaiter(
                        new MessageFormatter(new Utf8MessageSerializer(null), new JsonMessageStringifier(null), null),
                        null);
                _awaiter.AwaiterInitialized += (sender, args) => Assert.Fail("It should never be initialized");
            }
            public void Setup()
            {
                Rabbit.Initialize();

                _awaiter =
                    new ResponseAwaiter(
                        new MessageFormatter(new Utf8MessageSerializer(null), new JsonMessageStringifier(null), null),
                        null);
                _awaiter.AwaiterInitialized += (sender, args) =>
                                                   {
                                                       _threadLock.Set();
                                                   };

                _awaiter.EnsureInitialized();
                _threadLock.WaitOne();
            }