assertEquals(0, errors.size());
// check constraint violation
minimumLengthConstraint.setLimit(3);
collectionType.setMinimumLengthConstraint(minimumLengthConstraint);
errors = collectionType.verify(collectionValue);
assertEquals(1, errors.size());
final Iterator iter = errors.iterator();
VerificationError error = (VerificationError) iter.next();
assertEquals(VerificationError.TYPE_CONSTRAINT_VIOLATION,
error.getType());