1,
details.getAttributes().length);
assertEquals("Value should match",
attributes[0],
details.getAttributes()[0]);
ControlType type = details.getAttributeControlType(attributes[0]);
assertNotNull("Type shouldn't be null", type);
assertEquals("Value should match", ControlType.TEXT, type);
attributes = new String[] { "name", "attribute" };
details.addAttributes(attributes[1], "UNKNOWN", null, null);