* Creates an empty collection value.
*/
protected abstract MutableCollectionValue createEmptyValue();
public void testVerify() {
final MetaDataType collectionType = (MetaDataType) getMutableInhibitor();
// normal case
final MutableCollectionValue collectionValue =
createCollectionValue(new String[]{"one", "two"});
Collection errors = collectionType.verify(collectionValue);
assertEquals(0, errors.size());
// invalid type
BooleanValue booleanValue = VALUE_FACTORY.createBooleanValue();
errors = collectionType.verify(booleanValue);
assertEquals(1, errors.size());
VerificationError error =
(VerificationError) errors.iterator().next();
assertEquals(VerificationError.TYPE_INVALID_IMPLEMENTATION,
error.getType());