use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateAnAwaitingCycle3DataController.
@Test
public void build_shouldCreateAnAwaitingCycle3DataController() {
StateController controller = factory.build(anAwaitingCycle3DataState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(AwaitingCycle3DataStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateUserAccountCreationFailedStateController.
@Test
public void build_shouldCreateUserAccountCreationFailedStateController() {
StateController controller = factory.build(aUserAccountCreationFailedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(UserAccountCreationFailedStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateAEidasSuccessfulMatchController.
@Test
public void build_shouldCreateAEidasSuccessfulMatchController() {
StateController controller = factory.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 shouldCreateAUserAccountCreationRequestSentStateController.
@Test
public void shouldCreateAUserAccountCreationRequestSentStateController() {
StateController controller = factory.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 build_shouldCreateAnIdpSelectedController.
@Test
public void build_shouldCreateAnIdpSelectedController() {
StateController controller = factory.build(anIdpSelectedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(IdpSelectedStateController.class);
}
Aggregations