public void TestFixtureSetUp()
        {
            _rabbitManager = new RabbitManager();
            _rabbitManager.PurgeQueue().Wait();

            _telegraphist = new Telegraphist();
            _telegraphist.TelegramReceived += (sender, e) => _actualTelegram = e.Telegram;
            _telegraphist.Start();

            _rabbitManager.PublishMessage(ExpectedValue).Wait();

            Thread.Sleep(1000);
        }
        public void TestFixtureSetUp()
        {
            _actualTelegrams = new List<Telegram>();

            _rabbitManager = new RabbitManager();
            _rabbitManager.PurgeQueue().Wait();

            _telegraphist = new Telegraphist();
            _telegraphist.TelegramReceived += (sender, e) => _actualTelegrams.Add(e.Telegram);
            _telegraphist.Start();

            _rabbitManager.PublishMessage("Testing, testing, 1, 2, 3!").Wait();
            _rabbitManager.PublishMessage("Testing, testing, 2, 3, 4!").Wait();

            Thread.Sleep(1000);
        }