Skip to content

Instantly share code, notes, and snippets.

@beyondxscratch
Created July 14, 2022 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beyondxscratch/543b6e00ccbc8ac0c96f90e126ffc19b to your computer and use it in GitHub Desktop.
Save beyondxscratch/543b6e00ccbc8ac0c96f90e126ffc19b to your computer and use it in GitHub Desktop.
class BookmarkTest implements EqualityTest<Bookmark> {
@Override
public Bookmark createValue() {
return Bookmark.create("http://www.test.com", "name");
}
@Override
public Bookmark createOtherValue() {
return Bookmark.create("http://www.test2.com", "other name");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment