Search in sources :

Example 1 with FolderRelocator

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

the class FactoryInjectionTest method testFolderRelocatorFactory.

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

Aggregations

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