use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAnEidasCycle0And1MatchRequestSentStateController.
@Test
public void shouldCreateAnEidasCycle0And1MatchRequestSentStateController() {
StateController stateController = stateControllerFactory.build(anEidasCycle0And1MatchRequestSentState().build(), stateTransitionAction);
assertThat(stateController).isInstanceOf(EidasCycle0And1MatchRequestSentStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAUserAccountCreationFailedStateController.
@Test
public void shouldCreateAUserAccountCreationFailedStateController() {
StateController controller = stateControllerFactory.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 shouldCreateAnAwaitingCycle3DataStateController.
@Test
public void shouldCreateAnAwaitingCycle3DataStateController() {
StateController controller = stateControllerFactory.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 shouldCreateANoMatchStateController.
@Test
public void shouldCreateANoMatchStateController() {
StateController controller = stateControllerFactory.build(aNoMatchState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(NoMatchStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateACycle3DataInputCancelledStateController.
@Test
public void shouldCreateACycle3DataInputCancelledStateController() {
StateController controller = stateControllerFactory.build(aCycle3DataInputCancelledState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(Cycle3DataInputCancelledStateController.class);
}
Aggregations