diff --git a/src/test/java/org/apache/commons/csv/CSVRecordBooleanTest.java b/src/test/java/org/apache/commons/csv/CSVRecordBooleanTest.java index 1b38416e..e9f146a6 100644 --- a/src/test/java/org/apache/commons/csv/CSVRecordBooleanTest.java +++ b/src/test/java/org/apache/commons/csv/CSVRecordBooleanTest.java @@ -44,12 +44,12 @@ public class CSVRecordBooleanTest { @Test(expected = IllegalArgumentException.class) public void testGetBooleanByMissingString() { - Assert.assertEquals(null, Boolean.valueOf(record.getBoolean("ABSENT"))); + record.getBoolean("ABSENT"); } @Test(expected = IllegalArgumentException.class) public void testGetBooleanByNullString() { - Assert.assertEquals(null, Boolean.valueOf(record.getBoolean(null))); + record.getBoolean(null); } @Test