@Test
 public void testReadOnlyProperty() throws PropertyException {
   Property property = getReadonlyIntProperty();
   try {
     property.setValue(1);
     fail();
   } catch (InvalidPropertyOperationException ex) {
   }
 }
 @Test
 public void testGetSetValue() throws InvalidPropertyOperationException, PropertyException {
   component.setIntProperty(0);
   Property property = getIntProperty();
   assertEquals(0, property.getValue());
   property.setValue(1);
   assertEquals(1, property.getValue());
   assertEquals(1, component.getIntProperty());
 }