public void Queue_should_exist_when_created() { var sut = new InMemoryMessageStore(); var queueName = "test"; sut.CreateQueue(queueName); var exists = sut.QueueExists(queueName); Assert.AreEqual<bool>(true, exists); }
public void Should_store_queue_when_queue_created() { var sut = new InMemoryMessageStore(); var queueName = "test"; sut.CreateQueue(queueName); var queues = sut.GetQueues(); Assert.AreEqual<string>(queueName, queues[0]); }