public void Enqueue_FullQueue_RemovesFirstItem() { const int maxSize = 1; var first = new object(); var second = new object(); var target = new BoundedQueue <object>(maxSize); target.Enqueue(first); target.Enqueue(second); Assert.Equal(maxSize, target.Count); Assert.Equal(second, target.Single()); }