### Question:
Stack { public void push(T o) { list.addLast(o); }  void push(T o); T pop(); T replaceTop(T value); T peek(); boolean isEmpty(); int size(); List<T> getList(); static final Stack EMPTY; }### Answer:
@Test public void testPush() throws Exception { stack.push("a"); stack.push("b"); stack.push("b"); stack.push("c"); ReflectionAssert.assertReflectionEquals(new String[]{"a", "b", "b", "c"}, stack.getList().toArray()); }