amanda.hinchman-dominguez
01/21/2019, 4:01 PMclass Test: ApplicationTest() {
FxToolkit.registerPrimaryStage()
.....
@Test fun testTextfield() {
find<Editor>(CatScheduleScope( ))
val textfield = lookup("#beep") as TextField // NPE exception here
verifyThat("#beep", hasText(textfield.text))
}
}