title: How to use TestFX to test a scene's contents using JavaFXML
body: <p>I'm wondering how I'm supposed to be testing contents of certain scenes in JavaFXML when using TestFX. 
  Examples include these links:
  <a href="https://github.com/TestFX/TestFX/blob/master/subprojects/testfx-junit5/src/test/java/org/testfx/framework/junit5/ApplicationRuleTest.java" rel="nofollow noreferrer">https://github.com/TestFX/TestFX/blob/master/subprojects/testfx-junit5/src/test/java/org/testfx/framework/junit5/ApplicationRuleTest.java</a></p>
  
  <p><a href="https://medium.com/@mglover/java-fx-testing-with-testfx-c3858b571320" rel="nofollow noreferrer">https://medium.com/@mglover/java-fx-testing-with-testfx-c3858b571320</a></p>
  
  <p>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?</p>