@Test
public void testPop() throws Exception {

    stack.push("a");
    stack.push("b");
    stack.push("c");
    stack.pop();
    ReflectionAssert.assertReflectionEquals(new String[]{"a", "b"}, stack.getList().toArray());
    stack.pop();
    ReflectionAssert.assertReflectionEquals(new String[]{"a"}, stack.getList().toArray());
    stack.pop();
    ReflectionAssert.assertReflectionEquals(new String[]{}, stack.getList().toArray());
}