@Test public void set_givenNotEmptyArray_thenOverrides() throws Exception { setElements(1, 2, 3, 4, 5); test.set(2, -3); assertElements(1, 2, -3, 4, 5); }
public void set(int index, int value) { }
DynamicArray { public void set(int index, int value) { } }
DynamicArray { public void set(int index, int value) { } DynamicArray(int growthFactor, int maxOverhead); }
DynamicArray { public void set(int index, int value) { } DynamicArray(int growthFactor, int maxOverhead); int getInnerLength(); Interval reportUsage(Interval usage, int minSize); int get(int index); void set(int index, int value); }
DynamicArray { public void set(int index, int value) { } DynamicArray(int growthFactor, int maxOverhead); int getInnerLength(); Interval reportUsage(Interval usage, int minSize); int get(int index); void set(int index, int value);  }