@Test
public void testGetControllerServicePropertyDescriptorWhenExists() {

    final String propertyName = "Client Certificate";
    final org.apache.nifi.registry.flow.Bundle bundle = getRequestBundle(systemBundle);
    final Optional<PropertyDescriptor> propertyDescriptor = extensionManager.getControllerServicePropertyDescriptor(
            sslContextService.getType(), bundle, propertyName);
    assertTrue(propertyDescriptor.isPresent());
    assertEquals(propertyName, propertyDescriptor.get().getName());
}