FileUtils.deleteDirectory( MASTER_PATH );
GraphDatabaseService masterDb =
new EmbeddedGraphDatabase( MASTER_PATH.getAbsolutePath() );
masterDb.shutdown();
FileUtils.copyDirectory( MASTER_PATH, SLAVE_PATH );
<BUG>master = new FakeMaster( MASTER_PATH.getAbsolutePath() );
broker = new FakeBroker( master );</BUG>
}
catch ( IOException e )
{

FileUtils.deleteDirectory( MASTER_PATH );
GraphDatabaseService masterDb =
new EmbeddedGraphDatabase( MASTER_PATH.getAbsolutePath() );
masterDb.shutdown();
FileUtils.copyDirectory( MASTER_PATH, SLAVE_PATH );
}
catch ( IOException e )
{
