use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateASessionStartedStateController.
@Test
public void build_shouldCreateASessionStartedStateController() {
StateController controller = factory.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 build_shouldCreateCycle3DataInputCancelledController.
@Test
public void build_shouldCreateCycle3DataInputCancelledController() {
StateController controller = factory.build(aCycle3DataInputCancelledState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(Cycle3DataInputCancelledStateController.class);
}
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 controller = factory.build(anEidasCycle0And1MatchRequestSentState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(EidasCycle0And1MatchRequestSentStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateANoMatchController.
@Test
public void build_shouldCreateANoMatchController() {
StateController controller = factory.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 shouldCreateAnEidasAwaitingCycle3DataStateController.
@Test
public void shouldCreateAnEidasAwaitingCycle3DataStateController() {
StateController controller = factory.build(anEidasAwaitingCycle3DataState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(EidasAwaitingCycle3DataStateController.class);
}
Aggregations