}
public void testStack()throws Exception
{
System.out.println("****************** TEST STACK ******************");
Stack s = new StackImpl();
s.push("one");
s.push("two");
s.pop();
s.push("two");
s.push("three");
s.pop();
s.pop();
s.pop();
try
{
s.pop();
throw new Exception("Did not validate empty stack before pop");
}
catch(RuntimeException e)
{
System.out.println(e.getMessage());