@SuppressWarnings("unused")
private ConstraintViolation<Account> getTestConstraintViolation() {
final Account account = getTestEntity();
final AccountAddress accountAddress = account.getAddresses().iterator().next();
final PathImpl path = PathImpl.createPathFromString("addresses[].address.lastName");
return
new ConstraintViolationImpl<Account>(null, "error msg", Account.class, account, accountAddress, null,
path, null, ElementType.METHOD);
}