use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAUserAccountCreationRequestSentStateControllerFromTransitionalClass.
@Deprecated
@Test
public void shouldCreateAUserAccountCreationRequestSentStateControllerFromTransitionalClass() {
StateController controller = stateControllerFactory.build(aUserAccountCreationRequestSentState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(UserAccountCreationRequestSentStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateARequesterErrorStateController.
@Test
public void shouldCreateARequesterErrorStateController() {
StateController controller = stateControllerFactory.build(aRequesterErrorState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(RequesterErrorStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAnIdpSelectedStateController.
@Test
public void shouldCreateAnIdpSelectedStateController() {
StateController controller = stateControllerFactory.build(anIdpSelectedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(IdpSelectedStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAEidasSuccessfulMatchStateController.
@Test
public void shouldCreateAEidasSuccessfulMatchStateController() {
StateController controller = stateControllerFactory.build(aEidasSuccessfulMatchState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(EidasSuccessfulMatchStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateATimeoutStateController.
@Test
public void shouldCreateATimeoutStateController() {
StateController controller = stateControllerFactory.build(aTimeoutState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(TimeoutStateController.class);
}
Aggregations