@Test(expected = IllegalArgumentException.class)
public void testCreateControllerServiceWhenTypeDoesNotExist() {

    final org.apache.nifi.registry.flow.Bundle bundle = getRequestBundle(systemBundle);
    extensionManager.createControllerService("does-not-exist", bundle);
}