Class MultipleGardenerObjectiveTest.TestHashCode

java.lang.Object
com.takenoko.objective.MultipleGardenerObjectiveTest.TestHashCode
Enclosing class:
MultipleGardenerObjectiveTest

@Nested @DisplayName("method hashCode") class MultipleGardenerObjectiveTest.TestHashCode extends Object
  • Constructor Details

    • TestHashCode

      TestHashCode()
  • Method Details

    • shouldReturnTheSameHashCodeWhenTheObjectIsEqual

      @Test @DisplayName("should return the same hash code when the object is equal") void shouldReturnTheSameHashCodeWhenTheObjectIsEqual()
    • shouldReturnADifferentHashCodeWhenTheObjectIsNotEqual

      @Test @DisplayName("should return a different hash code when the object is not equal") void shouldReturnADifferentHashCodeWhenTheObjectIsNotEqual()