public void WaitForConfirms_throws_if_ConfirmSelect_was_not_called()
        {
            var server = new RabbitServer();

            using (var model = new FakeModel(server))
                Assert.Throws <InvalidOperationException>(() => model.WaitForConfirms());
        }
        public void WaitForConfirmsOrDie_returns_true_if_ConfirmSelect_was_called()
        {
            var server = new RabbitServer();

            using (var model = new FakeModel(server))
            {
                model.ConfirmSelect();
                var result = model.WaitForConfirms();
                Assert.True(result);
            }
        }