CustomerRepository.class,
CustomerRepository.class,
CustomerRepository.class
);
assertNotNull( descriptor, "the specified constructor should be configured in xml" );
CrossParameterDescriptor crossParameterDescriptor = descriptor.getCrossParameterDescriptor();
assertTrue( crossParameterDescriptor.hasConstraints() );
Set<ConstraintDescriptor<?>> constraintDescriptors = crossParameterDescriptor.getConstraintDescriptors();
assertTrue( constraintDescriptors.size() == 1 );
ConstraintDescriptor<?> constraintDescriptor = constraintDescriptors.iterator().next();
assertEquals(
constraintDescriptor.getAnnotation().annotationType(),