/**
* Test that getAttributeControlType works as expected with the only
* policy that currently has a value for it i.e. AudioAsset.encoding.
*/
public void testGetAttributeControlTypePositive() {
PolicyAttributesDetails attributesDetails =
new PolicyAttributesDetails("audioComponent", true);
ControlType controlType =
attributesDetails.getAttributeControlType("encoding");
assertNotNull(controlType);
assertEquals("Expected ControlType.READ_ONLY_COMBO_VIEWER",
ControlType.READ_ONLY_COMBO_VIEWER, controlType);
}