public void shouldCopyUsingToArray() { var testee = new CircularQueue<int>(new[] { 1, 2, 3, 4 }); testee.Cycle(); testee.Cycle(); var expected = new[] { 3, 4, 1, 2 }; var actual = testee.ToArray(); Assert.IsTrue(actual.SequenceEqual(expected), actual.PrintContentsToString(", ")); }