### Question:
Paths extends LinkedHashMap<String, PathItem> { public Paths addPathItem(String name, PathItem item) { this.put(name, item); return this; } 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 testAddPathItem() { Paths paths = new Paths(); Assert.assertEquals(paths.addPathItem("foo", null), paths); }