@Test
public void testConnectionError() throws MalformedURLException {
// create a bad context object, lets say a wfs that doesn't exist
URL context = new URL("http://foo.blah.hehehe/geoserver/wfs"); //$NON-NLS-1$
Assertion a1 = new Assertion(){
@Override
public void run() {
fail = !(catalogImport.getDialog().getCurrentPage() instanceof ConnectionErrorPage);
}
};