integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java
public static Map<String, Object> loadYamlFromString(String yamlString) throws Exception {
    // read input domain yaml to test
    Map<String, Object> map = new HashMap<String, Object>();
    Yaml yaml = new Yaml();
    map = yaml.load(yamlString);
    return map;
  }
/**
   * load YAML.
   * @param yamlString YAML string
   * @return Object hierarchy
   * @throws Exception on failure
   */
load YAML.
@param yamlString YAML string
@return Object hierarchy
@throws Exception on failure
load YAML . @param yamlString YAML string @return Object hierarchy @throws Exception on failure
public static Map<String, Object> loadYamlFromString(String yamlString) throws Exception {
    Map<String, Object> map = new HashMap<String, Object>();
    Yaml yaml = new Yaml();
    map = yaml.load(yamlString);
    return map;
  }
public static Map < String , Object > loadYamlFromString ( String yamlString ) throws Exception { Map < String , Object > map = new HashMap < String , Object > ( ) ; Yaml yaml = new Yaml ( ) ; map = yaml . load ( yamlString ) ; return map ; }
load YAML.
load YAML .
// read input domain yaml to test