@Override
    public AuthenticationDataSource getAuthDataSource() {
        return authenticationDataSource;
    }
@Test
    public void verifyHttpAuthConstructorInitializesAuthDataSourceAndDoesNotAuthenticateData() {
        HttpServletRequest request = mock(HttpServletRequest.class);
        when(request.getRemoteAddr()).thenReturn("localhost");
        when(request.getRemotePort()).thenReturn(8080);
        CountingAuthenticationProvider provider = new CountingAuthenticationProvider();
        OneStageAuthenticationState authState = new OneStageAuthenticationState(request, provider);
        assertNotNull(authState.getAuthDataSource());
        assertEquals(provider.getAuthCallCount(), 0);
    }