private KyotocabinetStorageConfig getConfig() { if (null == config) { config = new KyotocabinetStorageConfig(); String path = ConfigTools.getCurrentClassPath(KyotocabinetStorageTest.class); path = path.substring(1); config.setDatabasePath(path + File.separatorChar + "db_test"); } return config; }