### Question:
DecorationPane extends StackPane implements DecorationSupport { public Parent getContent() { return _content; } DecorationPane();  DecorationPane(Parent content); Parent getContent(); void setContent(Parent content); @Override void positionInArea(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, HPos hAlignment, VPos vAlignment);  }### Answer:
@Test public void loadFXMLWithExplicitContent() throws Exception { URL resource = DecorationPaneTest.class.getClassLoader().getResource("jidefx/scene/control/decoration/DecorationPaneTestExplicitContent.fxml"); FXMLLoader loader = new FXMLLoader(resource); loader.load(); DecorationPaneTestController controller = loader.getController(); assertNotNull(controller.decorationPane); assertNotNull(controller.content); assertEquals(controller.content, controller.decorationPane.getContent()); }
@Test public void loadFXMLWithImplicitContent() throws Exception { URL resource = DecorationPaneTest.class.getClassLoader().getResource("jidefx/scene/control/decoration/DecorationPaneTestImplicitContent.fxml"); FXMLLoader loader = new FXMLLoader(resource); loader.load(); DecorationPaneTestController controller = loader.getController(); assertNotNull(controller.decorationPane); assertNotNull(controller.content); assertEquals(controller.content, controller.decorationPane.getContent()); }