### Question:
JavaLibraryImpl extends LibraryImpl implements JavaLibrary, Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } JavaLibraryImpl that = (JavaLibraryImpl) o; return Objects.equals(jarFile, that.jarFile) && Objects.equals(dependencies, that.dependencies); } JavaLibraryImpl(
            @NonNull File jarFile,
            @Nullable String buildId,
            @Nullable String project,
            @NonNull List<JavaLibrary> dependencies,
            @Nullable MavenCoordinates requestedCoordinates,
            @NonNull MavenCoordinates resolvedCoordinates,
            boolean isSkipped,
            boolean isProvided); @NonNull @Override File getJarFile(); @NonNull @Override List<? extends JavaLibrary> getDependencies(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void equals() throws Exception { EqualsVerifier.forClass(JavaLibraryImpl.class).withRedefinedSuperclass().verify(); }