I'm wondering how I'm supposed to be testing contents of certain scenes in JavaFXML when using TestFX. Examples include these links: https://github.com/TestFX/TestFX/blob/master/subprojects/testfx-junit5/src/test/java/org/testfx/framework/junit5/ApplicationRuleTest.java
https://medium.com/@mglover/java-fx-testing-with-testfx-c3858b571320
The first link constructs the scene within the test class, and the latter uses a pre-defined scene stored in its own class. How am I supposed to do something similar to this when using JavaFXML instead of JavaFX where the scenes' structures are defined in an fxml file instead of java code?