connection, "RangesPolicy", locale);
policyType = policyDescriptor.getPolicyType();
assertNotNull("Policy Descriptor should be found", policyDescriptor);
assertTrue("Type should match: " + policyType,
policyType instanceof RangePolicyType);
RangePolicyType rangeType =
(RangePolicyType)policyType;
assertEquals("Selections size should match", 77,
rangeType.getMinInclusive());
assertEquals("Selections size should match", 188,
rangeType.getMaxInclusive());
// Test the retrieval of a policy descriptor from VMTYPES_STRUCTURE
id = populateWithStructure(id);
policyDescriptor = accessor.retrievePolicyDescriptor(
connection, "StructurePolicy", locale);