@Test public void testSource() throws IOException { YamlMap yamlMap = new YamlMap("key", "value"); assertEquals( "Source should be original key value pair", "key: value", yamlMap.getSource().trim()); }
@Override protected String getSource() throws IOException { return formatted(); }
YamlMap extends AbstractBaseYaml { @Override protected String getSource() throws IOException { return formatted(); } }
YamlMap extends AbstractBaseYaml { @Override protected String getSource() throws IOException { return formatted(); } YamlMap(String key, Object value);  YamlMap(Map<String, Object> dataTree); }
YamlMap extends AbstractBaseYaml { @Override protected String getSource() throws IOException { return formatted(); } YamlMap(String key, Object value);  YamlMap(Map<String, Object> dataTree); @Override Object dataTree(); }
YamlMap extends AbstractBaseYaml { @Override protected String getSource() throws IOException { return formatted(); } YamlMap(String key, Object value);  YamlMap(Map<String, Object> dataTree); @Override Object dataTree();  }