/**
* Simple test of building the composite using a PolicyAttributesDetails.
*/
public void testBuildingComposite() throws Exception {
final Shell shell = new Shell(SWT.NONE);
AttributesComposite parent = new AttributesComposite(shell, SWT.NONE);
AttributesDetails attributesDetails =
new PolicyAttributesDetails("assetGroup", false);
AttributesComposite result = AttributesCompositeBuilder.getSingleton().
buildAttributesComposite(parent, attributesDetails,
(IProject) null, null);
assertNotNull("Should not be null", result);
String [] attributeNames = result.getAttributeNames();
assertEquals("Size should match: " + result, 2,
attributeNames.length);
List properties = new ArrayList();
properties.add("prefixURL");