### Question:
Storage { public String getPathByDbName(String dbName) { if (hasProperty(dbName)) { return getProperty(dbName).getPath(); } return null; }  static int getDbVersionFromConfig(final Config config); static String getDbEngineFromConfig(final Config config); static Boolean getDbVersionSyncFromConfig(final Config config); static Boolean getContractParseSwitchFromConfig(final Config config); static String getDbDirectoryFromConfig(final Config config); static String getIndexDirectoryFromConfig(final Config config); static String getIndexSwitchFromConfig(final Config config); static String getTransactionHistoreSwitchFromConfig(final Config config); void setPropertyMapFromConfig(final Config config); String getPathByDbName(String dbName); Options getOptionsByDbName(String dbName); void deleteAllStoragePaths();  }### Answer:
@Test public void getPath() { Assert.assertEquals("storage_directory_test", storage.getPathByDbName("account")); Assert.assertEquals("test_path", storage.getPathByDbName("test_name")); Assert.assertNull(storage.getPathByDbName("some_name_not_exists")); }