use of org.wso2.carbon.apimgt.core.workflow.WorkflowExtensionsConfigBuilder in project carbon-apimgt by wso2.
the class WorkflowExtensionsConfigBuilderTestCase method testWorkflowConfigWithoutConfigFile.
@Test(description = "Test situation where workflow config file loading during a missing config file")
public void testWorkflowConfigWithoutConfigFile() {
WorkflowConfig config = WorkflowExtensionsConfigBuilder.getWorkflowConfig();
Assert.assertNotNull(config.getApplicationCreation(), "Default application creation workflow not set");
Assert.assertNotNull(config.getSubscriptionCreation(), "Default subscription creation workflow not set");
Assert.assertNotNull(config.getApplicationDeletion(), "Default application deletion workflow not set");
Assert.assertNotNull(config.getSubscriptionDeletion(), "Default subscription deletion workflow not set");
WorkflowExtensionsConfigBuilder obj = new WorkflowExtensionsConfigBuilder();
Assert.assertNotNull(obj);
}
Aggregations