package com.coding.basic; import junit.framework.TestCase; public class TestStack extends TestCase{ private Stack stack; public void setUp() throws Exception { stack = new Stack(); } public void testpop(){ // Stack stack = new Stack(); Object o = null ; try { stack.push(o); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } }