### Question:
SortOrder { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final SortOrder other = (SortOrder) obj; if (!sortingOptions.equals(other.sortingOptions)) { return false; } return true; }  void addSortingOption(final SortingOption sortingOption); List<SortingOption> sortingOptions(); @Override int hashCode(); @Override boolean equals(final Object obj); static final SortOrder DEFAULT; }### Answer:
@Test public void shouldEquals_withSameObject() { final SortOrder sortOrder = new SortOrder(); assertTrue(sortOrder.equals(sortOrder)); }
@Test public void shouldNotEquals_withNull() { final SortOrder sortOrder = new SortOrder(); assertFalse(sortOrder.equals(null)); }
@Test public void shouldNotEquals_withDifferentClass() { final SortOrder sortOrder = new SortOrder(); assertFalse(sortOrder.equals(Randoms.randomString(20))); }