@Test
 public void validateEventTest() {
   ArrayList<PropertyEditorCategory> properties = new ArrayList<PropertyEditorCategory>();
   properties.add(new PropertyEditorCategory("Category"));
   PropertyEditorEvent event = new PropertyEditorEvent("id", properties);
   assertTrue(PropertyEditorHelper.validade(event));
 }
 @Test(expected = PropertyEditorHelper.NoPropertiesException.class)
 public void validateEventWithNoPropertiesTest() {
   PropertyEditorEvent event =
       new PropertyEditorEvent("id", new ArrayList<PropertyEditorCategory>());
   PropertyEditorHelper.validade(event);
 }
 @Test(expected = PropertyEditorHelper.NullEventException.class)
 public void validateNullEventTest() {
   PropertyEditorHelper.validade(null);
 }