### Question:
Paths extends LinkedHashMap<String, PathItem> { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Paths {\n"); sb.append(" ").append(toIndentedString(super.toString())).append("\n"); sb.append("}"); return sb.toString(); } Paths(); Paths addPathItem(String name, PathItem item); @Override boolean equals(java.lang.Object o); @Override int hashCode(); java.util.Map<String, Object> getExtensions(); void addExtension(String name, Object value); void setExtensions(java.util.Map<String, Object> extensions); Paths extensions(java.util.Map<String, Object> extensions); @Override String toString();  }### Answer:
@Test public void testToString() { Paths paths = new Paths(); paths.addPathItem("foo", null); Assert.assertEquals(paths.toString(), "class Paths {\n {foo=null}\n}"); }