Search in sources :

Example 1 with FileAssetIngestor

use of com.adobe.acs.commons.mcp.impl.processes.FileAssetIngestor in project acs-aem-commons by Adobe-Consulting-Services.

the class FactoryInjectionTest method testFileIngestorFactory.

@Test
public void testFileIngestorFactory() throws Exception {
    ProcessDefinition def = cpm.findDefinitionByNameOrPath("Asset Ingestor");
    assertNotNull(def);
    assertTrue(def instanceof FileAssetIngestor);
}
Also used : FileAssetIngestor(com.adobe.acs.commons.mcp.impl.processes.FileAssetIngestor) ProcessDefinition(com.adobe.acs.commons.mcp.ProcessDefinition) Test(org.junit.Test)

Aggregations

ProcessDefinition (com.adobe.acs.commons.mcp.ProcessDefinition)1 FileAssetIngestor (com.adobe.acs.commons.mcp.impl.processes.FileAssetIngestor)1 Test (org.junit.Test)1