### Question:
Paths extends LinkedHashMap<String, PathItem> { @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Paths paths = (Paths) o; return Objects.equals(this.extensions, paths.extensions) && super.equals(o); } 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 testEquals() { Paths paths = new Paths(); Assert.assertTrue(paths.equals(paths)); Assert.assertTrue(paths.equals(new Paths())); Assert.assertFalse(paths.equals(null)); Assert.assertFalse(paths.equals(new String())); }