public void IEnumerableImplementation_ShouldBeAbleToIterateOverQueue() { // arrange var expeced = new[] { "A", "B", "C" }; // act _queue.Enqueue("A"); _queue.Enqueue("B"); _queue.Enqueue("C"); // assert _queue.AsEnumerable().ShouldBeEqualTo(expeced); }