@Test
public void testCreateDynamicProcessorPropertyWhenSupported() {

    final String propertyName = "FOO";
    final org.apache.nifi.registry.flow.Bundle bundle = getRequestBundle(systemBundle);
    final PropertyDescriptor dynamicProperty = extensionManager.createDynamicProcessorPropertyDescriptor(
            dynamicPropsProcessor.getType(), bundle, propertyName);
    assertNotNull(dynamicProperty);
    assertEquals(propertyName, dynamicProperty.getName());
    assertEquals(propertyName, dynamicProperty.getDisplayName());
}