public class Example extends junit.framework.TestCase {
@Test
public void test() {
TestSuite testSuite = TestLogger.getTestSuite("My TestSuite");
TestCase testCase = TestLogger.getTestCase("example.TestCase");
testSuite.addTestCase(testCase);
testCase.newTestStepGroup("Create");
TestStep okTestStep = getOkTestStep();
TestStep errorTestStep = getErrorTestStep();
testCase.addTestStep(errorTestStep);
testCase.addTestStep(okTestStep);
TestLogger.tearDown();
}