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 = factory.build(aFraudEventDetectedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(FraudEventDetectedStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateMatchingServiceRequestErrorController.
@Test
public void build_shouldCreateMatchingServiceRequestErrorController() {
StateController controller = factory.build(aMatchingServiceRequestErrorState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(MatchingServiceRequestErrorStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateAuthnFailedErrorController.
@Test
public void build_shouldCreateAuthnFailedErrorController() {
StateController controller = factory.build(anAuthnFailedErrorState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(AuthnFailedErrorStateController.class);
}
use of uk.gov.ida.hub.policy.domain.StateController in project verify-hub by alphagov.
the class StateControllerFactoryTest method build_shouldCreateAnCycle01MatchRequestSentController.
@Test
public void build_shouldCreateAnCycle01MatchRequestSentController() {
StateController controller = factory.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 shouldCreateACountrySelectedStateController.
@Test
public void shouldCreateACountrySelectedStateController() {
StateController controller = factory.build(aCountrySelectedState().build(), stateTransitionAction);
assertThat(controller).isInstanceOf(CountrySelectedStateController.class);
}
Aggregations