void () { myFixture.addClass(""" import javafx.scene.control.RadioButton; public class SuperController { public RadioButton option1; } """); myFixture.addClass("public class Controller extends SuperController {}"); final String testFxml = getTestName(true) + ".fxml"; myFixture.configureByFile(testFxml); myFixture.testHighlighting(true, false, false, testFxml); }