### Question:
Recipient { public static Recipient of(final PublicKey key, final String url) { return new Recipient(key, url); } private  Recipient(final PublicKey key, final String url); static Recipient of(final PublicKey key, final String url); static Recipient from(final Recipient recipient); PublicKey getKey(); String getUrl(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void sameInstanceIsEqual() { final Recipient recipient = Recipient.of(TEST_KEY, "url"); assertThat(recipient).isEqualTo(recipient).isSameAs(recipient); }