application.registerActivationEventListener( new EventsRecorder( events ) );
}
};
Application application = assembler.application();
application.passivate();
Iterator<ActivationEvent> it = events.iterator();
// Activation
assertEvent( it.next(), ACTIVATING, "Application" );