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:
parent
666350b94a
commit
ac03c2eaa7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue