private void attachToRoot(){
  WaitForAsyncUtils.waitForAsyncFx(5000,null);
  WaitForAsyncUtils.waitForFxEvents();
}

private void attachToRoot ( ) { WaitForAsyncUtils . waitForAsyncFx ( 5000 , null ) ; WaitForAsyncUtils . waitForFxEvents ( ) ; }
attaches the instance ' s root to the test ' s root . this is necessary since some components only work properly if they are attached to a window .
