SecureSampleConnector remoteConnector = new SecureSampleConnector(openwirePort);
final AtomicReference<Event> eventRef = new AtomicReference<Event>();
Map<String, String> attributes = new HashMap<String, String>();
Map<String, Object> properties = new HashMap<String, Object>();
attributes.put("mixin.1", EventSupport.class.getName());
remoteConnector.start(new MyExampleConnector(eventRef),
new ConnectorDescription("example", "external-connector-proxy", attributes, properties));
WorkflowService workflowService = getOsgiService(WorkflowService.class);
Event event = new Event("test");
ContextHolder.get().setCurrentContextId("foo");
authenticateAsAdmin();