public void shouldReplicateTransactionToCoreServers() throws Throwable
{
File dbDir = clusterRule.testDirectory().cleanDirectory( "classic-db" );
File classicNeo4jStore = createClassicNeo4jStore( dbDir, 10, recordFormat );
Cluster cluster = this.clusterRule.withRecordFormat( recordFormat ).createCluster();
<BUG>File homeDir = cluster.getCoreServerById( 0 ).homeDir();
</BUG>
StringBuilder output = new StringBuilder();
PrintStream sysout = new PrintStream( new RestoreClusterUtils.MyOutputStream( output ) );
<BUG>new RestoreNewClusterCli( sysout ).run(  toArray( args().homeDir( homeDir ).config( homeDir )
.from( classicNeo4jStore ).database( "graph.db" ).force().build() )  );
</BUG>
String seed = RestoreClusterCliTest.extractSeed( output.toString() );

public void shouldReplicateTransactionToCoreServers() throws Throwable
{
File dbDir = clusterRule.testDirectory().cleanDirectory( "classic-db" );
File classicNeo4jStore = createClassicNeo4jStore( dbDir, 10, recordFormat );
Cluster cluster = this.clusterRule.withRecordFormat( recordFormat ).createCluster();
Path homeDir = Paths.get(cluster.getCoreServerById( 0 ).homeDir().getPath());
StringBuilder output = new StringBuilder();
PrintStream sysout = new PrintStream( new RestoreClusterUtils.MyOutputStream( output ) );
new RestoreNewClusterCli( homeDir, homeDir, sysout ).execute(
toArray( args().from( classicNeo4jStore ).database( "graph.db" ).force().build() )  );
String seed = RestoreClusterCliTest.extractSeed( output.toString() );
