connection, "StructurePolicy", locale);
policyType = policyDescriptor.getPolicyType();
assertNotNull("Policy Descriptor should be found", policyDescriptor);
assertTrue("Type should match: " + policyType,
policyType instanceof StructurePolicyType);
StructurePolicyType structureType =
(StructurePolicyType)policyType;
assertTrue("Should contain key: " + "TestFieldname",
structureType.getFieldTypes().containsKey("TestFieldname"));
policyType = (PolicyType)structureType.getFieldTypes().get("TestFieldname");
assertTrue("Type should match: " + policyType,
policyType instanceof BooleanPolicyType);
// Test the retrieval of a policy descriptor from VMTYPES_SET
id = populateWithOrderedSet(id);