@Test
public void shouldNotRecordInstrumentedURIsForWebServerIfNotFound() throws IOException {
given(configuration.isIncludeUnloadedJS()).willReturn(true);
File wwwRoot = new File("wwwRoot");
ReflectionUtils.setField(webServer, HttpServer.class, "wwwRoot", wwwRoot);
CompilerEnvirons compilerEnvirons = new CompilerEnvirons();
given(configuration.getCompilerEnvirons()).willReturn(compilerEnvirons);
given(configuration.skipInstrumentation("/js/production.js")).willReturn(false);
given(instrumenterService.instrumentJSForWebServer(configuration, new File("wwwRoot/js/production.js"), "/js/production.js")).willThrow(new UriNotFound("Ouch!", null));
webServer.handleGet(new HttpRequest("/js/production.js", null, null, 0, null));