Writing A TestCase

package net.sf.sample;

import org.baselinetest.TestCase;
import org.baselinetest.TestSuite;

public class SmokeTest extends TestCase {
    public SmokeTest(TestSuite testSuite) {
       super(testSuite);
    }

    /**
     * This method is called for last and once for each 
     * TestCase in the Suite in the reverse order of init()
     */ 
    @Override
    public void cleanup() throws Exception {

    }

    /**
     * This method is called once for every TestStep
     */
    @Override
    public void doWork() {
      try {
  
      } catch (Exception e) {
          log(e);
          fail(e.getMessage());
      }
    }

    /**
     * This method is called for first and once for each 
     * TestCase in the Suite
     */    
    @Override
    public void init() throws Exception {

    }
}