private final ServerFileSystem serverFileSystem;
public DryRunDatabaseFactory(Database database, ServerFileSystem serverFileSystem) {
this.database = database;
this.serverFileSystem = serverFileSystem;
}
<BUG>public byte[] createDatabaseForDryRun(int resourceId) {
</BUG>
String name = serverFileSystem.getTempDir().getAbsolutePath() + "db-" + System.nanoTime();
try {
DataSource source = database.getDataSource();

private final ServerFileSystem serverFileSystem;
public DryRunDatabaseFactory(Database database, ServerFileSystem serverFileSystem) {
this.database = database;
this.serverFileSystem = serverFileSystem;
}
public byte[] createDatabaseForDryRun(Integer resourceId) {
String name = serverFileSystem.getTempDir().getAbsolutePath() + "db-" + System.nanoTime();
try {
DataSource source = database.getDataSource();
