if (firstTime) {
firstTime = false;
}
UnitTestEvent suspendEvent
= new UnitTestEvent(EventTypes.SYSTEM_EVENT);
suspendEvent.intParam1 = (EventTypes.SUSPEND_ALL);
if (!suspended) {
System.out.println("startApp() called on startup");
/* generate Suspend Event */
myQ.post(suspendEvent);
} else {
System.out.println("PASSED: startApp() called on resume");
notifyDestroyed();
}