@Test
public void testEquals() {

  UUID uuid = UUID.randomUUID();
  new EqualsTester()
      .addEqualityGroup(Atom.string("string"), new Atom<>("string"))
      .addEqualityGroup(Atom.integer(42), new Atom<>(42L))
      .addEqualityGroup(Atom.real(4.2), new Atom<>(4.2))
      .addEqualityGroup(Atom.bool(true), new Atom<>(true))
      .addEqualityGroup(Atom.uuid(Uuid.of(uuid)), Atom.uuid(uuid), new Atom<>(new Uuid(uuid)))
      .addEqualityGroup(
          Atom.namedUuid("named-uuid"),
          Atom.namedUuid(new NamedUuid("named-uuid")),
          new Atom<>(new NamedUuid("named-uuid"))
      )
      .testEquals();
}