AttributeType attributeType = (AttributeType) copiedGBeanType.getAttributeOrReference().get(0);
assertNull(attributeType.getPropertyEditor());
}
public void testPropertyEditorIsNotDefinedForCollectionSubClasses() throws Exception {
GBeanOverride override = new GBeanOverride(gbeanType, new JexlExpressionParser());
override.setAttribute(collectionInfo, Collections.singleton("test"), classLoader);
GbeanType copiedGBeanType = override.writeXml();
assertEquals(1, copiedGBeanType.getAttributeOrReference().size());
AttributeType attributeType = (AttributeType) copiedGBeanType.getAttributeOrReference().get(0);