use of org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler in project carbon-identity-framework by wso2.
the class FrameworkUtilsTest method testGetStepHandlerExistHandler.
@Test
public void testGetStepHandlerExistHandler() {
DefaultStepHandler testStepHandler = new DefaultStepHandler();
ConfigurationFacade.getInstance().getExtensions().put(FrameworkConstants.Config.QNAME_EXT_STEP_HANDLER, testStepHandler);
StepHandler stepHandler = FrameworkUtils.getStepHandler();
assertEquals(stepHandler, testStepHandler);
}
Also used :
DefaultStepHandler(org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler)
DefaultStepHandler(org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler)
StepHandler(org.wso2.carbon.identity.application.authentication.framework.handler.step.StepHandler)
GraphBasedStepHandler(org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.GraphBasedStepHandler)
Test(org.testng.annotations.Test)
BeforeTest(org.testng.annotations.BeforeTest)
PrepareForTest(org.powermock.core.classloader.annotations.PrepareForTest)
PowerMockIdentityBaseTest(org.wso2.carbon.identity.testutil.powermock.PowerMockIdentityBaseTest)