Search in sources :

Example 1 with ProcessCleanup

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

the class FactoryInjectionTest method testProcessCleanupFactory.

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

Aggregations

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