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

    OutOfMemoryError occurError = new OutOfMemoryError("out of memory error.");
    doThrow(occurError).when(mockFilterChain).doFilter(mockRequest,
            mockResponse);
    try {
        testTarget.doFilter(mockRequest, mockResponse, mockFilterChain);
    } catch (OutOfMemoryError e) {
        assertSame(occurError, e);
    }
    verify(mockExceptionLogger, times(0)).error((Exception) any());
}