@Test public void increase_givenNotFull_thenNothingHappens() throws Exception { int[] expected = new int[5]; buildStack(2, 4, expected); increase(); assertStack(2, 4, expected); }
public void increase() { }
SymmetricStack { public void increase() { } }
SymmetricStack { public void increase() { } SymmetricStack(); }
SymmetricStack { public void increase() { } SymmetricStack(); int getFirst(); void setFirst(int first); int getLast(); void setLast(int last); int[] getData(); void setData(int[] data); int getNumberOfElements(); void increase(); void decrease(); boolean isEmpty(); boolean isFull(); void prepend(int x); void append(int x); void removeFirst(); void removeLast(); @Override String toString(); }
SymmetricStack { public void increase() { } SymmetricStack(); int getFirst(); void setFirst(int first); int getLast(); void setLast(int last); int[] getData(); void setData(int[] data); int getNumberOfElements(); void increase(); void decrease(); boolean isEmpty(); boolean isFull(); void prepend(int x); void append(int x); void removeFirst(); void removeLast(); @Override String toString();  }