@BeforeClass
public static void setUpBeforeClass ()
{
final String host = System.getProperty (AmqpQueueRawConnectorTest.MOSAIC_AMQP_HOST, AmqpQueueRawConnectorTest.MOSAIC_AMQP_HOST_DEFAULT);
final Integer port = Integer.valueOf (System.getProperty (AmqpQueueRawConnectorTest.MOSAIC_AMQP_PORT, AmqpQueueRawConnectorTest.MOSAIC_AMQP_PORT_DEFAULT));
final IConfiguration configuration = PropertyTypeConfiguration.create ();
configuration.addParameter ("interop.driver.endpoint", "inproc://f4c74dc5-b548-4ec4-a6a6-ef97c79bf55d");
configuration.addParameter ("interop.driver.identity", "f4c74dc5-b548-4ec4-a6a6-ef97c79bf55d");
configuration.addParameter ("amqp.host", host);
configuration.addParameter ("amqp.port", port);
configuration.addParameter ("amqp.driver_threads", 1);
configuration.addParameter ("consumer.amqp.queue", "tests.queue");
configuration.addParameter ("consumer.amqp.consumer_id", "tests.consumer");
configuration.addParameter ("consumer.amqp.auto_ack", true);
configuration.addParameter ("consumer.amqp.exclusive", true);
configuration.addParameter ("publisher.amqp.exchange", "tests.exchange");
configuration.addParameter ("publisher.amqp.routing_key", "tests.queue");
configuration.addParameter ("publisher.amqp.manadatory", true);
configuration.addParameter ("publisher.amqp.immediate", true);
configuration.addParameter ("publisher.amqp.durable", false);
final BaseScenario scenario = new BaseScenario (AmqpQueueRawConnectorTest.class, configuration);
scenario.registerDriverRole (AmqpSession.DRIVER);
BaseConnectorTest.driverStub = AmqpStub.createDetached (configuration, scenario.getDriverChannel (), scenario.getThreading ());
AmqpQueueRawConnectorTest.scenario_ = scenario;
}