@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");
context.bind("queue/testQueue", queue);
MockContextFactory.setAsInitial();
}