public void GetFirstIndexByValue_WhenValue_ReturnIndex(int value, int[] actualArray, int expected) { MyArrayList array = new MyArrayList(actualArray); int actual = array.GetFirstIndexByValue(value); Assert.AreEqual(expected, actual); }