Package com.mockrunner.mock.ejb

Examples of com.mockrunner.mock.ejb.EJBMockObjectFactory


  }

  @BeforeClass ( groups = { "unit", "integration" })
  public static void setUpInitialContext() throws Exception
    {
        final EJBMockObjectFactory mockObjectFactory = new EJBMockObjectFactory();
        final Context context = mockObjectFactory.getContext();
        final JMSMockObjectFactory jmsObjectFactory = new JMSMockObjectFactory();

        connectionFactory = jmsObjectFactory.getMockQueueConnectionFactory();
        context.bind("ConnectionFactory",  connectionFactory);
        queue = jmsObjectFactory.getDestinationManager().createQueue("testQueue");
View Full Code Here

TOP

Related Classes of com.mockrunner.mock.ejb.EJBMockObjectFactory

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.