source: class LintTest {
  
    @Test
    public void shouldAnalyzeInlineResourceAndReturnWarnings() throws Exception {
  
target:     TestFile[] files = {
          xml("file1", "<xml></xml>"),
          java("file2", "public class Class{}") };
      Detector detector = Helper.dummyDetector();
      Issue[] issues = { Helper.dummyIssue() };
      Lint lint = new Lint(detector, issues);
  
      List<Warning> warnings = lint.project(files);
  
      assertThat(warnings).isEqualTo(Helper.dummyWarnings());
    }
  
  }