assertEquals(Long.class, blowup.getTargetType());
}
@Test
public void unparsableDefaultFailsAppropriately() throws IllegalAccessException {
UnparsableDefaultException blowup = null;
try {
invalidDefault.parse(
new ArrayList<String>()
);
} catch (UnparsableDefaultException x) {
blowup = x;
}
assertNotNull(blowup);
assertEquals("burn", blowup.getOptionName());
assertEquals("i am the king of hellfire", blowup.getInvalidValue());
assertEquals(Integer.TYPE, blowup.getTargetType());
}