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 = 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 shouldCreateACycle0And1MatchRequestSentStateControllerFromTransitionalClass.
@Deprecated
@Test
public void shouldCreateACycle0And1MatchRequestSentStateControllerFromTransitionalClass() {
StateController controller = stateControllerFactory.build(aCycle0And1MatchRequestSentState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(Cycle0And1MatchRequestSentStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAnEidasAwaitingCycle3DataStateController.
@Test
public void shouldCreateAnEidasAwaitingCycle3DataStateController() {
StateController controller = stateControllerFactory.build(anEidasAwaitingCycle3DataState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(EidasAwaitingCycle3DataStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateASessionStartedStateController.
@Test
public void shouldCreateASessionStartedStateController() {
StateController controller = stateControllerFactory.build(aSessionStartedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(SessionStartedStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method shouldCreateAFraudEventDetectedStateController.
@Test
public void shouldCreateAFraudEventDetectedStateController() {
StateController controller = stateControllerFactory.build(aFraudEventDetectedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(FraudEventDetectedStateController.class);
}
Aggregations