@Test
public void testPush() throws Exception {

    stack.push("a");
    stack.push("b");
    stack.push("b"); // duplicate should be allowed
    stack.push("c");
    ReflectionAssert.assertReflectionEquals(new String[]{"a", "b", "b", "c"}, stack.getList().toArray());
}