{
EndpointReferenceType[] mgmtEPRs = m_service.getManageabilityReferences();
assertTrue( "Response to GetManageabilityReferences operation did not contain any EPRs.", mgmtEPRs.length != 0 );
for ( int i = 0; i < mgmtEPRs.length; i++ )
{
ResourceStub mgmtResource = new ResourceStub( new XmlBeansEndpointReference( mgmtEPRs[i] ) );
XmlObject idPropElem = getSingleProperty( mgmtResource, IdentityCapability.PROP_NAME_RESOURCE_ID );
assertTrue( idPropElem instanceof XmlAnyURI );
XmlObject[] capabilityElems = mgmtResource.getResourceProperty(
ManageabilityCharacteristicsCapability.PROP_NAME_MANAGEABILITY_CAPABILITY );
assertContainsURI( capabilityElems, IdentificationCapability.URI );