@Test public void dataPath_shouldReadFromConfigurationFile() { final GlobalConfiguration globalConfiguration = getGlobalConfigurationFromFile("dataOptions_config.yaml"); assertThat(globalConfiguration.getDataPath()).isEqualTo(TEST_PATH); assertThat(globalConfiguration.getDataStorageMode()).isEqualTo(ARCHIVE); assertThat(globalConfiguration.getDataStorageCreateDbVersion()).isEqualTo("4"); assertThat(globalConfiguration.getDataStorageFrequency()).isEqualTo(128L); }
public String getDataPath() { return dataPath; }
DataOptions { public String getDataPath() { return dataPath; } }
DataOptions { public String getDataPath() { return dataPath; }  }
DataOptions { public String getDataPath() { return dataPath; }  String getDataPath(); }
DataOptions { public String getDataPath() { return dataPath; }  String getDataPath();  }