Class PandaTest.TestHashCode

java.lang.Object
com.takenoko.actors.PandaTest.TestHashCode
Enclosing class:
PandaTest

@Nested @DisplayName("Method hashCode") class PandaTest.TestHashCode extends Object
  • Constructor Details

    • TestHashCode

      TestHashCode()
  • Method Details

    • shouldReturnTheSameHashcodeIfTheTwoObjectsAreEqual

      @Test @DisplayName("should return the same hashcode if the two objects are equal") void shouldReturnTheSameHashcodeIfTheTwoObjectsAreEqual()
    • shouldReturnADifferentHashcodeIfTheTwoObjectsAreNotTheSame

      @Test @DisplayName("should return a different hashcode if the two objects are not the same") void shouldReturnADifferentHashcodeIfTheTwoObjectsAreNotTheSame()