@BeforeClass
public static void setUpBeforeClass ()
{
final String host = System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST, RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST_DEFAULT);
final Integer port = Integer.valueOf (System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT, RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT_DEFAULT));
final IConfiguration configuration = PropertyTypeConfiguration.create ();
configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
configuration.addParameter ("kvstore.host", host);
configuration.addParameter ("kvstore.port", port);
configuration.addParameter ("kvstore.driver_name", "REDIS");
configuration.addParameter ("kvstore.driver_threads", 1);
configuration.addParameter ("kvstore.bucket", "10");
final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.class, configuration);
scenario.registerDriverRole (KeyValueSession.DRIVER);
BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
RedisKvStoreConnectorTest.scenario_ = scenario;
}