Package com.takenoko.inventory
Class InventoryTest.TestHashCode
java.lang.Object
com.takenoko.inventory.InventoryTest.TestHashCode
- Enclosing class:
- InventoryTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
-
Constructor Details
-
TestHashCode
TestHashCode()
-
-
Method Details
-
hashCode_shouldReturnSameHashCodeWhenEqual
@Test @DisplayName("should return the same hash code when the two objects are equal") void hashCode_shouldReturnSameHashCodeWhenEqual() -
hashCode_shouldReturnDifferentHashCodeWhenNotEqual
@Test @DisplayName("should return a different hash code when the two objects are not equal") void hashCode_shouldReturnDifferentHashCodeWhenNotEqual()
-