Search in sources :

Example 1 with ResponseHandler

use of com.thoughtworks.go.server.newsecurity.handlers.ResponseHandler in project gocd by gocd.

the class VerifyAuthorityFilterTest method setUp.

@BeforeEach
void setUp() {
    request = HttpRequestBuilder.GET("/foo").build();
    response = new MockHttpServletResponse();
    filterChain = mock(FilterChain.class);
    responseHandler = mock(ResponseHandler.class);
}
Also used : ResponseHandler(com.thoughtworks.go.server.newsecurity.handlers.ResponseHandler) FilterChain(javax.servlet.FilterChain) MockHttpServletResponse(com.thoughtworks.go.http.mocks.MockHttpServletResponse) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

MockHttpServletResponse (com.thoughtworks.go.http.mocks.MockHttpServletResponse)1 ResponseHandler (com.thoughtworks.go.server.newsecurity.handlers.ResponseHandler)1 FilterChain (javax.servlet.FilterChain)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1