public void A_Message_Is_Written_To_The_Queue() { WriteXmlToQueue(); int depth = _repository.GetQueueDepth(_mq); Assert.That(depth, Is.EqualTo(1)); }