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

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