use of org.apache.commons.beanutils.DynaProperty in project sonarqube by SonarSource.
the class DynaActionFormConfig method testGetDescriptorBase.
/**
* Base for testGetDescriptorXxxxx() series of tests.
*
* @param name Name of the property to be retrieved
* @param type Expected class type of this property
*/
protected void testGetDescriptorBase(String name, Class type) {
DynaProperty descriptor = dynaForm.getDynaClass().getDynaProperty(name);
assertNotNull("Got descriptor", descriptor);
assertEquals("Got correct type", type, descriptor.getType());
}
Aggregations