OperatingSystem implements Identifiable, Serializable { @Override public int hashCode() { return hash; } OperatingSystem(@Nonnegative final int id, @Nonnull final String name, @Nonnull final String family,
			@Nonnull final String infoUrl, @Nonnull final SortedSet<OperatingSystemPattern> patterns, @Nonnull final String producer,
			@Nonnull final String producerUrl, @Nonnull final String url, @Nonnull final String icon); void copyTo(@Nonnull final UserAgent.Builder builder); @Override boolean equals(final Object obj); @Nonnull String getFamily(); @Nonnull String getIcon(); @Override @Nonnegative int getId(); @Nonnull String getInfoUrl(); @Nonnull String getName(); @Nonnull SortedSet<OperatingSystemPattern> getPatterns(); @Nonnull String getProducer(); @Nonnull String getProducerUrl(); @Nonnull String getUrl(); @Override int hashCode(); @Override String toString();  }
@Test public void equals_identical() { final OperatingSystem a = new Blueprint().build(); final OperatingSystem b = new Blueprint().build(); assertThat(b).isEqualTo(a); assertThat(a.hashCode() == b.hashCode()).isTrue(); }
@Test public void equals_same() { final OperatingSystem a = new Blueprint().build(); assertThat(a).isEqualTo(a); assertThat(a).isSameAs(a); assertThat(a.hashCode() == a.hashCode()).isTrue(); }