Update java-collections-maps-2/src/test/java/com/baeldung/map/ProductUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
parent
a1dcb5c5ea
commit
a50e35565b
@ -36,7 +36,7 @@ class ProductUnitTest {
|
|||||||
|
|
||||||
Product nextPurchase = productsByName.get("Car");
|
Product nextPurchase = productsByName.get("Car");
|
||||||
|
|
||||||
assertEquals(null, nextPurchase);
|
assertNull(nextPurchase);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -121,4 +121,4 @@ class ProductUnitTest {
|
|||||||
assertNull(productsByName.get("E-Bike"));
|
assertNull(productsByName.get("E-Bike"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user