Search in sources :

Example 1 with SecurityAuthConfigService

use of com.thoughtworks.go.server.service.SecurityAuthConfigService in project gocd by gocd.

the class AuthorizationControllerTest method setUp.

@Before
public void setUp() throws Exception {
    localizer = mock(Localizer.class);
    securityAuthConfigService = mock(SecurityAuthConfigService.class);
    authorizationController = new AuthorizationController(localizer, securityAuthConfigService);
    response = new MockHttpServletResponse();
}
Also used : SecurityAuthConfigService(com.thoughtworks.go.server.service.SecurityAuthConfigService) Localizer(com.thoughtworks.go.i18n.Localizer) MockHttpServletResponse(org.springframework.mock.web.MockHttpServletResponse) Before(org.junit.Before)

Aggregations

Localizer (com.thoughtworks.go.i18n.Localizer)1 SecurityAuthConfigService (com.thoughtworks.go.server.service.SecurityAuthConfigService)1 Before (org.junit.Before)1 MockHttpServletResponse (org.springframework.mock.web.MockHttpServletResponse)1