@Test
public void showException() throws Exception {

    final String MSG = "Foo is not Bar";
    showDialog(new IllegalArgumentException(MSG));
    ((DialogFixture) windowFixture).requireModal();
    assertEquals("IllegalArgumentException", windowFixture.component().getTitle());
    
    JLabelFixture label = windowFixture.label();
    label.requireText(Pattern.compile(".*" + MSG + ".*"));
}