assertEquals(listInstance.getName(), "list", "Unexpected list instance name");
assertEquals(listInstance.getLongDescription(), "list descr", "Unexpected list instance description");
assertTrue(listInstance.isRequired(), "Unexpected list instance required flag");
SimpleProperty propDef = (SimpleProperty) listInstance.getConfigurationProperty().getValue();
assertEquals(propDef.getName(), "prop", "Unexpected simple instance name");
assertEquals(propDef.getLongDescription(), "prop descr", "Unexpected simple instance description");
assertTrue(!propDef.isRequired(), "Unexpected simple instance required flag");
assertEquals(listInstance.getValues().getComplexValue().size(), 2, "Unexpected number of list values");
ComplexValueSimpleDescriptor value1 =
(ComplexValueSimpleDescriptor) listInstance.getValues().getComplexValue().get(0).getValue();