public class FxmlTest {
@Test
public void testSampleFxml() throws Exception {
XmlInContext sampleFxml = new XmlInContext();
sampleFxml.setResourceSystem(new ClasspathResourceSystem());
sampleFxml.setResourceId("/"
+ ReflectionBoostUtils.getPackageAsRelativePath(FxmlTest.class)
+ "/sample.fxml");
Fxml fxml = new Fxml(sampleFxml);