views.add(new XLinkConnectorView(viewId2, toolName, descriptions));
modelsToViews.put(new ModelDescription(exampleModelClass.getName(), exampleModelClassVersion),
views.toArray(new XLinkConnectorView[0]));
serviceFinder = mock(OsgiUtilsService.class);
ModelRegistry registry = mock(ModelRegistry.class);
when(serviceFinder.getService(ModelRegistry.class)).thenReturn(registry);
when(registry.loadModel(isA(ModelDescription.class))).thenReturn(exampleModelClass);
}