@Test public void get_input2_givenNotEmptyArray_returns3() throws Exception { setElements(1, 2, 3, 4, 5); Assert.assertEquals(3, test.get(2)); }
public int get(int index) { return -2; }
DynamicArray { public int get(int index) { return -2; } }
DynamicArray { public int get(int index) { return -2; } DynamicArray(int growthFactor, int maxOverhead); }
DynamicArray { public int get(int index) { return -2; } 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 int get(int index) { return -2; } DynamicArray(int growthFactor, int maxOverhead); int getInnerLength(); Interval reportUsage(Interval usage, int minSize); int get(int index); void set(int index, int value);  }