import com.nomagic.magicdraw.tests.MagicDrawTestCase;
public class MyTest extends MagicDrawTestCase
{
public MyTest(String testMethodToRun, String testName)
{
super(testMethodToRun, testName);
}
@Override
protected void setUpTest() throws Exception
{
super.setUpTest();
//do setup here
}
@Override
protected void tearDownTest() throws Exception
{
super.tearDownTest();
//do tear down here
}
public void testSomething()
{
//implement the unit test here
}
public static Test suite() throws Exception
{
//you may create a test suite with several instances of the test.
TestSuite suite = new TestSuite();
suite.addTest(new MyTest("testSomething", "MagicDraw Test Sample"));
suite.addTest(new MyTest("testSomething", "Another MagicDraw Test Sample"));
return suite;
}
}