Corona Test Framework is based upon test cases. Each test case is a Java class that defines a granular set of test methods. JUnit4 is used to annotate the Java class to identify the test methods.
package test.corona.platform;
import static org.junit.Assert.*;
import org.junit.Test;
import org.eclipse.corona.internal.Activator;
public class TestInternalActivator {
@Test
public void testGetInstance() {
Activator activator = Activator.getInstance();
assertNotNull("Corona Platform 'Activator' is not defined", activator);
}
}