Package com.takenoko.objective
Class MultipleGardenerObjectiveTest.TestHashCode
java.lang.Object
com.takenoko.objective.MultipleGardenerObjectiveTest.TestHashCode
- Enclosing class:
- MultipleGardenerObjectiveTest
@Nested
@DisplayName("method hashCode")
class MultipleGardenerObjectiveTest.TestHashCode
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
-
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()
-