"CalculatorComponent"));
assertEquals(calcComponent.getRequiredIntents().get(0).getName(), new QName("http://test",
"confidentiality"));
assertEquals(calcComponent.getPolicySets().get(0).getName(), new QName("http://test", "SecureReliablePolicy"));
ComponentService calcComponentService = calcComponent.getServices().get(0);
assertEquals(calcComponentService.getName(), "CalculatorService");
assertEquals(calcComponentService.getRequiredIntents().get(0).getName(),
new QName("http://test", "confidentiality"));
assertEquals(calcComponentService.getPolicySets().get(0).getName(), new QName("http://test", "SecureReliablePolicy"));
// TODO test operations
ComponentReference calcComponentReference = calcComponent.getReferences().get(0);
assertEquals(calcComponentReference.getName(), "addService");
assertEquals(calcComponentReference.getAutowire(), Boolean.FALSE);