@Before
public void setUp() throws Exception {
List<String> l = new ArrayList<String>();
l.add("org.locationtech.udig.catalog.ui.openFileConnection");
UDIGConnectionFactoryDescriptor d = ConnectionFactoryManager.instance().getConnectionFactoryDescriptors(l).get(0);
state = new EndConnectionState(d,true);
page = new ConnectionPageDecorator();
Map<Class<? extends State>, WorkflowWizardPageProvider> map = new HashMap<Class<? extends State>, WorkflowWizardPageProvider>();
map.put(state.getClass(), new BasicWorkflowWizardPageFactory(page));