@Test
public void isClientCompressionSupportedWithoutHeader() {

    final HttpServletRequest request = Mockito
            .mock(HttpServletRequest.class);
    Mockito.when(request.getHeader("Accept-Encoding")).thenReturn(null);
    Assert.assertFalse(StaticResourceServlet
            .isClientCompressionSupported(request));
}