Search in sources :

Example 1 with AssetReport

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

the class FactoryInjectionTest method testAssetReportFactory.

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

Aggregations

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