Collection errors = structureType.verify(structureValue);
assertEquals(0, errors.size());
// invalid type
final BooleanValue booleanValue = VALUE_FACTORY.createBooleanValue();
errors = structureType.verify(booleanValue);
assertEquals(1, errors.size());
VerificationError error =
(VerificationError) errors.iterator().next();
assertEquals(VerificationError.TYPE_INVALID_IMPLEMENTATION,
error.getType());