### Question:
SubStream { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } SubStream subStream = (SubStream) o; return index == subStream.index && present == subStream.present && Objects.equals(name, subStream.name) && Objects.equals(scopes, subStream.scopes) && Objects.equals(types, subStream.types) && format == subStream.format; } SubStream(
            @NonNull String name,
            int index,
            @NonNull Set<? super QualifiedContent.Scope> scopes,
            @NonNull Set<QualifiedContent.ContentType> types,
            @NonNull Format format,
            boolean present); @NonNull String getName(); @NonNull Set<? super QualifiedContent.Scope> getScopes(); @NonNull Set<QualifiedContent.ContentType> getTypes(); @NonNull Format getFormat(); int getIndex(); String getFilename(); boolean isPresent(); static Collection<SubStream> loadSubStreams(@NonNull File rootFolder); static void save(@NonNull Collection<SubStream> subStreams, @NonNull File rootFolder); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); SubStream duplicateWithPresent(boolean exists); static final String FN_FOLDER_CONTENT; }### Answer:
@Test public void equals() throws Exception { EqualsVerifier.forClass(SubStream.class).withIgnoredFields("filename").verify(); }