Search in sources :

Example 1 with DeepPrune

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

the class FactoryInjectionTest method testDeepPruneFactory.

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

Aggregations

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