//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.neo4j.storageengine.api.StoreId simulateStoreCopy() throws java.io.IOException private Org.Neo4j.Storageengine.Api.StoreId SimulateStoreCopy() { // create an empty store Org.Neo4j.Storageengine.Api.StoreId storeId; NeoStoreDataSource ds = DsRule.getDataSource(_databaseLayout, _fs, _pageCache); using (Lifespan ignored = new Lifespan(ds)) { storeId = ds.StoreId; } // we don't have log files after a store copy LogFiles logFiles = LogFilesBuilder.logFilesBasedOnlyBuilder(_databaseLayout.databaseDirectory(), FsRule.get()).build(); //noinspection ResultOfMethodCallIgnored logFiles.Accept((file, version) => file.delete()); return(storeId); }