@Test
public void clearText() throws Exception {

    showDialog(TITLE, TEXT[0]).get();
    getButton("Clear").click();
    windowFixture.robot.waitForIdle();
    
    assertEquals(0, windowFixture.textBox().component().getDocument().getLength());
}