### Question:
FxmlView { public <T extends Parent> T getRootNode() { ensureViewLoaded(); return fxmlLoader.getRoot(); } FxmlView(Class<?> controllerClass, Object... controllers); C getController(); T getRootNode(); static Function<Class<?>, Object> getControllerFactory(); static void setControllerFactory(Function<Class<?>, Object> controllerFactory);  }### Answer:
@Test public void testCssAdded() { List<String> styleSheets = new FxmlView(TestController.class).getRootNode().getStylesheets(); URL cssUrl = TestController.class.getResource("Test.css"); assertTrue(styleSheets.get(styleSheets.size() - 1).equals(cssUrl.toExternalForm())); }