Package org.auraframework.integration

Examples of org.auraframework.integration.IntegrationServiceObserver


     * Verify IntegrationServiceObserver invoked during integration service component injection.
     *
     * @throws Exception
     */
    public void testObserverInvoked() throws Exception {
        IntegrationServiceObserver mockObserver = Mockito.mock(IntegrationServiceObserver.class);
        AuraContext cntx = Aura.getContextService().startContext(Mode.UTEST, Format.JSON, Authentication.AUTHENTICATED);
        Integration integration = service.createIntegration("", Mode.UTEST, true, null, getNoDefaultPreloadsApp().getQualifiedName(), mockObserver);
        injectSimpleComponent(integration);
        Mockito.verify(mockObserver, Mockito.times(2)).contextEstablished(integration, cntx);
    }
View Full Code Here

TOP

Related Classes of org.auraframework.integration.IntegrationServiceObserver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.