<BUG>fileSystem.add(inputFile);</BUG><CONTEXT>@Testpublic void failIfMetricNotFound() throws IOException {File measures = new File(baseDir, "src/foo.xoo.measures");FileUtils.write(measures, "unknow:12\n\n#comment");DefaultInputFile inputFile = new DefaultInputFile("foo", "src/foo.xoo").setLanguage("xoo");<extra_id_0>thrown.expect(IllegalStateException.class);sensor.execute(context);}</CONTEXT>
context.fileSystem().add(inputFile);