### Question:
EidasCountrySelectedStateController implements ErrorResponsePreparedStateController, EidasCountrySelectingStateController, AuthnRequestCapableController, RestartJourneyStateController { @Override public ResponseFromHub getErrorResponse() { return responseFromHubFactory.createNoAuthnContextResponseFromHub( state.getRequestId(), state.getRelayState(), state.getRequestIssuerEntityId(), state.getAssertionConsumerServiceUri()); } EidasCountrySelectedStateController(
            final EidasCountrySelectedState state,
            final HubEventLogger hubEventLogger,
            final StateTransitionAction stateTransitionAction,
            final PolicyConfiguration policyConfiguration,
            final TransactionsConfigProxy transactionsConfigProxy,
            final MatchingServiceConfigProxy matchingServiceConfigProxy,
            final ResponseFromHubFactory responseFromHubFactory,
            final AssertionRestrictionsFactory assertionRestrictionFactory); String getMatchingServiceEntityId(); String getRequestIssuerId(); boolean isMatchingJourney(); String getCountryEntityId(); AuthnRequestFromHub getRequestFromHub(); EidasAttributeQueryRequestDto getEidasAttributeQueryRequestDto(InboundResponseFromCountry translatedResponse); @Override ResponseFromHub getErrorResponse(); @Override void selectCountry(String countryEntityId); void handleMatchingJourneySuccessResponseFromCountry(InboundResponseFromCountry translatedResponse,
                                                                String principalIpAddressAsSeenByHub,
                                                                String analyticsSessionId,
                                                                String journeyType); void handleNonMatchingJourneySuccessResponseFromCountry(InboundResponseFromCountry translatedResponse,
                                                                   String principalIpAddressAsSeenByHub,
                                                                   String analyticsSessionId,
                                                                   String journeyType); void handleAuthenticationFailedResponseFromCountry(String principalIpAddressAsSeenByHub,
                                                              String analyticsSessionId,
                                                              String journeyType); @Override void transitionToSessionStartedState();  }### Answer:
@Test public void shouldReturnNoAuthContextErrorResponse() { ResponseFromHub errorResponse = controller.getErrorResponse(); assertThat(errorResponse).isNotNull(); assertThat(errorResponse.getStatus()).isEqualTo(TransactionIdaStatus.NoAuthenticationContext); assertThat(errorResponse.getAuthnRequestIssuerEntityId()).isEqualTo(state.getRequestIssuerEntityId()); assertThat(errorResponse.getInResponseTo()).isEqualTo(state.getRequestId()); assertThat(errorResponse.getRelayState()).isEqualTo(state.getRelayState()); assertThat(errorResponse.getAssertionConsumerServiceUri()).isEqualTo(state.getAssertionConsumerServiceUri()); }