public void Should_be_able_to_remove_a_message() { var messagId = Guid.NewGuid(); inboxQueue.Enqueue(messagId, new MemoryStream()); inboxQueue.Remove(messagId); Assert.IsNull(inboxQueue.Dequeue()); }
public void Should_be_able_to_remove_a_message() { var messagId = Guid.NewGuid(); inboxQueue.Enqueue(messagId, new MemoryStream()); inboxQueue.Remove(messagId); Assert.IsNull(inboxQueue.Dequeue()); }