@Test
public void testMissingHeaderIgnoreGETMethodConfig_goodRequest()
		throws ServletException, IOException {

	// CSRF has not been sent
	HttpServletRequest mockReq = Mockito.mock(HttpServletRequest.class);
	Mockito.when(mockReq.getHeader(RangerCSRFPreventionFilter.HEADER_DEFAULT)).thenReturn(null);
	Mockito.when(mockReq.getMethod()).thenReturn("GET");
	Mockito.when(mockReq.getHeader(RangerCSRFPreventionFilter.HEADER_USER_AGENT)).thenReturn(userAgent);
	// Objects to verify interactions based on request
	HttpServletResponse mockRes = Mockito.mock(HttpServletResponse.class);
	FilterChain mockChain = Mockito.mock(FilterChain.class);
	// Object under test
	RangerCSRFPreventionFilter filter = new RangerCSRFPreventionFilter();
	filter.doFilter(mockReq, mockRes, mockChain);
	Mockito.verify(mockChain).doFilter(mockReq, mockRes);
}