public void When_copying_items_to_an_array() { ILinkedQueue <int> queue = new LinkedQueue <int>(new[] { 1, 2, 3 }); int[] array = new int[5]; queue.CopyTo(array, 1); queue.ShouldBe(new[] { 1, 2, 3 }); array.ShouldBe(new [] { 0, 1, 2, 3, 0 }); }