### Question:
MainWindowJavaFX implements MainWindow, Initializable { @Override public void show() { primaryStage.show(); } MainWindowJavaFX(); @Override void initialize(URL location, ResourceBundle resources); @Override void setLogo(Image image, Color backgroundColor); @Override void setTitle(String title); @Override void show(); @Override synchronized OutlineView getOutlineView(); @Override synchronized PanelsContainer getPanelsContainer(); @Override String toString();  }### Answer:
@Test @Ignore("Cannot be tested 'cause Stage.show is final!") public void show() { context.checking(new Expectations() {{ oneOf(primaryStage).show(); }}); mainWindow.show(); }