@Override
  public TsunamiConfig loadConfig() {
    Yaml yaml = new Yaml(new SafeConstructor(new LoaderOptions()));
    Map<String, Object> rawYamlData = yaml.load(configFileReader());
    return TsunamiConfig.fromYamlData(rawYamlData);
  }
@Test
  public void loadConfig_whenValidYamlFile_loadsConfigFromFile() throws IOException {
    File configFile = File.createTempFile("YamlConfigLoaderTest", ".yaml");
    Files.asCharSink(configFile, UTF_8).write(YAML_DATA);
    System.setProperty("tsunami.config.location", configFile.getAbsolutePath());

    TsunamiConfig tsunamiConfig = new YamlConfigLoader().loadConfig();

    assertThat(tsunamiConfig.getRawConfigData()).containsExactly("test", "data", "test2", 123);
  }