Skip to content

Commit db27bc3

Browse files
committed
Add missing test per JaCoCo test coverage
1 parent 9f0f6f8 commit db27bc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/org/apache/commons/lang3/tuple/MutablePairTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ void testOfNonNull() {
116116

117117
@Test
118118
void testPairOfMapEntry() {
119+
assertNull( MutablePair.of(null).getLeft());
120+
assertNull( MutablePair.of(null).getRight());
119121
final HashMap<Integer, String> map = new HashMap<>();
120122
map.put(0, "foo");
121123
final Entry<Integer, String> entry = map.entrySet().iterator().next();

0 commit comments

Comments
 (0)