use of eu.ggnet.dwoss.rights.OperatorManagmentController in project dwoss by gg-net.
the class OperatorManagmentControllerTest method testJavaFxFxml.
@Test
public void testJavaFxFxml() throws IOException {
if (GraphicsEnvironment.isHeadless())
return;
// Implizit start of JavaFx.
new JFXPanel();
FXMLLoader loader = new FXMLLoader(OperatorManagmentController.loadFxml());
loader.load();
assertThat((OperatorManagmentController) loader.getController()).isNotNull();
}
Aggregations