public void testResolveConstrainingType() throws Exception {
URL url = getClass().getResource("CalculatorComponent.constrainingType");
URI uri = URI.create("CalculatorComponent.constrainingType");
ConstrainingType constrainingType = (ConstrainingType)documentProcessor.read(null, uri, url);
assertNotNull(constrainingType);
resolver.addModel(constrainingType);
url = getClass().getResource("TestAllCalculator.composite");
uri = URI.create("TestAllCalculator.constrainingType");