return ConferenceRepresentation.class;
}
@Test
public void shouldNotAllowEndBeforeStart() throws Exception {
ConferenceRepresentation rep = new ConferenceRepresentation();
rep.setName("Name");
rep.setTagLine("TagLine");
rep.setEnd(new Date(System.currentTimeMillis()-3000));
rep.setStart(new Date());
assertValidationConstraint(rep, "EndBeforeStart", "end");
}