@Test
public void passesCorrectFilesWithNoExceptions() throws Exception {

    final Environment env = new Environment.Mock()
        .withFile("src/main/java/Main.java", "class Main { int x = 0; }")
        .withDefaultClasspath();
    new FindBugsValidator().validate(env);
}