@Test
public void testGetManifestProcessorWhenExists() {

    final org.apache.nifi.registry.flow.Bundle bundle = getRequestBundle(httpBundle);
    final ProcessorDefinition processor = extensionManager.getProcessorDefinition(invokeHttpProcessor.getType(), bundle);
    assertNotNull(processor);
    assertEquals(invokeHttpProcessor.getType(), processor.getType());
    assertEquals(invokeHttpProcessor.getGroup(), processor.getGroup());
    assertEquals(invokeHttpProcessor.getArtifact(), processor.getArtifact());
    assertEquals(invokeHttpProcessor.getVersion(), processor.getVersion());
    assertEquals(invokeHttpProcessor.getPropertyDescriptors().size(), processor.getPropertyDescriptors().size());
    assertNotNull(invokeHttpProcessor.getSupportedRelationships());
    assertEquals(2, invokeHttpProcessor.getSupportedRelationships().size());
    assertEquals(true, invokeHttpProcessor.getSupportsDynamicRelationships());
}