void () { myFixture.addFileToProject("sample.fxml", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<?import javafx.scene.control.*?>\n" + "<?import javafx.scene.layout.*?>\n" + "<AnchorPane id=\"AnchorPane\" xmlns:fx=\"http://javafx.com/fxml\" fx:controller=\"" + getTestName(false)+ "\">\n" + " <Button fx:id=\"id1\" />\n" + "</AnchorPane>\n"); myFixture.testHighlighting(true, false, false, getTestName(false) + ".java"); }