public void AddValue_WhenValuePassed_AddValueToLast(int value, int[] actualArray, int[] expectedArray) { MyArrayList actual = new MyArrayList(actualArray); MyArrayList expected = new MyArrayList(expectedArray); actual.AddValueToLast(value); Assert.AreEqual(expected, actual); }