@Test public void removeLast_given1Element_thenStackIsEmpty() throws Exception { buildStack(0, 0, 2); removeLast(); assertFirstAndLast(-1, -1); }
public void removeLast() { }
SymmetricStack { public void removeLast() { } }
SymmetricStack { public void removeLast() { } SymmetricStack(); }
SymmetricStack { public void removeLast() { } 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 removeLast() { } 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();  }