Package org.apache.deltaspike.testcontrol.api.mock

Examples of org.apache.deltaspike.testcontrol.api.mock.ApplicationMockManager


    //e.g. application-scoped beans are cached very early -> usage of ApplicationMockManager to register mocks for them
    @BeforeClass
    public static void init()
    {
        ApplicationMockManager applicationMockManager = BeanProvider.getContextualReference(ApplicationMockManager.class);
        applicationMockManager.addMock(new MockedApplicationScopedBean());
    }
View Full Code Here

TOP

Related Classes of org.apache.deltaspike.testcontrol.api.mock.ApplicationMockManager

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.