@Test
public void datachangedEvent_shouldTriggerUpdate() throws Exception {

    File testconnectorFolder = new File(tmpFolder.getRoot(), "testconnector");
    File testFile = new File(testconnectorFolder, "testfile");
    ConnectorDescription desc = makeConnectorDescription(CSVParser.class, testFile);
    connectorManager.create(desc);
    ServiceReference<EventSupport> reference = bundleContext.getServiceReference(EventSupport.class);
    EventSupport service = bundleContext.getService(reference);
    service.onEvent(new Event());
    verify(queryService).queryForActiveModels(TestModel.class);
}