assertTrue(results.hasErrorForReason(Reasons.MANDATORY));
assertTrue(results.hasError(object, null));
assertTrue(results.hasError(object.getAddress(), null));
assertTrue(
validator.validateProperty(object, info.getProperty("firstName")).hasError(
object, "firstName"));
object.setUserId(1L);
object.setFirstName("Hans");
object.setLastName("Tester");