@Test public void multi_docs_are_working2() { String source = "---\napiVersion: v1\nkind: Pod\nmetadata:\n name: busybox-sleep\n---\napiVersion: v2\nkind: Role"; String expected = "---\napiVersion: v1\nkind: Pod\nmetadata:\n name: busybox-sleep\n---\napiVersion: v2\nkind: Role"; String result = formatterToTest.format(source); assertEquals(expected,result); }
public String format(String source) { return format(source, null); }
YamlSourceFormatter { public String format(String source) { return format(source, null); } }
YamlSourceFormatter { public String format(String source) { return format(source, null); }  }
YamlSourceFormatter { public String format(String source) { return format(source, null); }  String format(String source); String format(String source, YamlSourceFormatterConfig config); }
YamlSourceFormatter { public String format(String source) { return format(source, null); }  String format(String source); String format(String source, YamlSourceFormatterConfig config);  }