public void IEnumerableImplementation_CanIterateOverStack() { // arrange var expected = new[] { "C", "B", "A" }; // act _stack.Push("A"); _stack.Push("B"); _stack.Push("C"); // arrange _stack.AsEnumerable().ShouldBeEqualTo(expected); }