super(di);
}
@Test
public void testValidation() throws Exception {
MockApplication app = application("juzu.simple").init();
MockClient client = app.client();
MockViewBridge render = client.render();
ValidationError va = assertInstanceOf(ValidationError.class, render.getResponse());
Set<ConstraintViolation<Object>> violations = va.getViolations();
assertEquals(1, violations.size());
ConstraintViolation<Object> violation = violations.iterator().next();