@Test public void popBack_givenLengthIs10_thenLengthIs9() throws Exception { push(1, 2, 3); test.popBack(); assertLength(2); }
public int popBack() { return -2; }
DynamicStack { public int popBack() { return -2; } }
DynamicStack { public int popBack() { return -2; } DynamicStack(int growthFactor, int maxOverhead); }
DynamicStack { public int popBack() { return -2; } DynamicStack(int growthFactor, int maxOverhead); int getLength(); void pushBack(int value); int popBack(); }
DynamicStack { public int popBack() { return -2; } DynamicStack(int growthFactor, int maxOverhead); int getLength(); void pushBack(int value); int popBack();  }