/** * The test class PiphansTest. * * @author (your name) * @version (a version number or a date) */ public class PiphansTest extends junit.framework.TestCase { private Piphans piphans1; /** * Default constructor for test class PiphansTest */ public PiphansTest() { } /** * Sets up the test fixture. * * Called before every test case method. */ protected void setUp() { piphans1 = new Piphans(); piphans1.pip(); } /** * Tears down the test fixture. * * Called after every test case method. */ protected void tearDown() { } public void testPipTest() { assertEquals("Hans", piphans1.pip()); } }