ConstraintViolation<CustomerRepositoryImpl> constraintViolation = violations.iterator().next();
assertThat( constraintViolation.getMessage() ).isEqualTo( messagePrefix() + "may not be null" );
assertThat( constraintViolation.getRootBeanClass() ).isEqualTo( CustomerRepositoryImpl.class );
assertThat( constraintViolation.getInvalidValue() ).isNull();
Path path = constraintViolation.getPropertyPath();
assertNodeKinds( path, ElementKind.CONSTRUCTOR, ElementKind.PARAMETER, ElementKind.PROPERTY );
assertNodeNames( path, "CustomerRepositoryImpl", "arg0", "name" );
}