@Test public void cancellingDialogReturnsNull() throws Exception { Future<CoordinateReferenceSystem> future = showDialog(); JButtonFixture button = getButton("Cancel"); button.click(); CoordinateReferenceSystem crs = retrieveCRS(future); assertNull(crs); }
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; }