/** Tests validateValue() with valid data */
 @Test
 public void testValidateValue1() {
   BooleanPropertyDefinition d = createPropertyDefinition();
   d.validateValue(Boolean.TRUE);
 }
 /** Tests validateValue() with illegal data */
 @Test(expectedExceptions = AssertionError.class)
 public void testValidateValue2() {
   BooleanPropertyDefinition d = createPropertyDefinition();
   d.validateValue(null);
 }
 /** Tests validateValue() with illegal data. */
 @Test(expectedExceptions = NullPointerException.class)
 public void testValidateValue2() {
   BooleanPropertyDefinition d = createPropertyDefinition();
   d.validateValue(null);
 }