TeStereo report

/** * Tests the detection of illegal arguments at {@link Range} creation time. * Note that such error should never happen when parameterized types are used. * The check performed by the constructor is a safety in case the user bypass * the parameterized type check by using the raw type instead. *

This test requires assertions to be enabled.

*/ @Test(expected=IllegalArgumentException.class) @SuppressWarnings({"unchecked","rawtypes"}) public void testConstructorErrors01(){ assumeTrue(Range.class.desiredAssertionStatus()); new Range(String.class,123.233,true,8740.09,true); }