Simplify tests.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-08-01 21:51:10 +00:00
parent 666350b94a
commit ac03c2eaa7
1 changed files with 2 additions and 2 deletions

View File

@ -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