Examples of AppMockConfiguration


Examples of com.porterhead.rest.mock.AppMockConfiguration

    /**
     * Relies on component scanning of mock services from {@link com.porterhead.rest.mock.AppMockConfiguration}
     */
    @Before
    public void setUpMocks() {
        AppMockConfiguration config = appCtx.getBean(AppMockConfiguration.class);
        userService = config.userService();
        verificationTokenService = config.verificationTokenService();
        connectionFactoryLocator = (ConnectionFactoryLocator) appCtx.getBean("connectionFactoryLocator");
        environment = config.environment();
        emailServicesGateway = config.emailServicesGateway();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.