@Test public void checkDefaultDialogIsSetupCorrectly() throws Exception { showDialog(); ((DialogFixture) windowFixture).requireModal(); assertEquals(JCRSChooser.DEFAULT_TITLE, windowFixture.target().getTitle()); JTextComponentFixture textBox = windowFixture.textBox(); assertNotNull(textBox); textBox.requireEditable(); textBox.requireText(""); JListFixture list = windowFixture.list(); assertNotNull(list); list.requireItemCount(CODES.size()); }
public static CoordinateReferenceSystem showDialog() { return showDialog(null); }
JCRSChooser { public static CoordinateReferenceSystem showDialog() { return showDialog(null); } }
JCRSChooser { public static CoordinateReferenceSystem showDialog() { return showDialog(null); } private  JCRSChooser(); }
JCRSChooser { public static CoordinateReferenceSystem showDialog() { return showDialog(null); } private  JCRSChooser(); static CoordinateReferenceSystem showDialog(); static CoordinateReferenceSystem showDialog(final String title); static CoordinateReferenceSystem showDialog(
            final String title, final String initialCode); static CoordinateReferenceSystem showDialog(
            final String title, final String initialCode, final String authority); }
JCRSChooser { public static CoordinateReferenceSystem showDialog() { return showDialog(null); } private  JCRSChooser(); static CoordinateReferenceSystem showDialog(); static CoordinateReferenceSystem showDialog(final String title); static CoordinateReferenceSystem showDialog(
            final String title, final String initialCode); static CoordinateReferenceSystem showDialog(
            final String title, final String initialCode, final String authority); static final String DEFAULT_AUTHORITY; static final String DEFAULT_TITLE; }