Search in sources :

Example 1 with AboutDialog

use of com.thecoderscorner.menu.editorui.dialog.AboutDialog in project tcMenu by davetcc.

the class AboutDialogTestCases method onStart.

@Start
public void onStart(Stage stage) {
    this.stage = stage;
    ConfigurationStorage storage = mock(ConfigurationStorage.class);
    when(storage.getRegisteredKey()).thenReturn("UnitTesterII");
    when(storage.getVersion()).thenReturn("V1.0.2");
    when(storage.getBuildTimestamp()).thenReturn("20/10/2018 09:30");
    new AboutDialog(storage, stage, false);
}
Also used : AboutDialog(com.thecoderscorner.menu.editorui.dialog.AboutDialog) ConfigurationStorage(com.thecoderscorner.menu.editorui.storage.ConfigurationStorage) Start(org.testfx.framework.junit5.Start)

Aggregations

AboutDialog (com.thecoderscorner.menu.editorui.dialog.AboutDialog)1 ConfigurationStorage (com.thecoderscorner.menu.editorui.storage.ConfigurationStorage)1 Start (org.testfx.framework.junit5.Start)1