@Test
public void returnsFalseForNonStaticResources() throws Exception {

File file = new File("_test_unknown.xml");
String key = file.getAbsolutePath();
when(request.getRequestURI()).thenReturn("/contextName/" +key);
when(request.getContextPath()).thenReturn("/contextName/");
when(context.getResource(key)).thenReturn(null);
boolean result = new DefaultStaticContentHandler(context).requestingStaticFile(request);
assertThat(result, is(equalTo(false)));
}