@Override
    public GraphModel getGraphModel() {
        Workspace currentWorkspace = Lookup.getDefault().lookup(ProjectController.class).getCurrentWorkspace();
        if (currentWorkspace == null) {
            return null;
        }
        return getGraphModel(currentWorkspace);
    }
@Test
    public void testWithConfiguration() {
        GraphControllerImpl graphController = new GraphControllerImpl();
        Configuration configuration = graphController.getDefaultConfigurationBuilder().nodeIdType(Long.class).build();

        ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
        Project project = pc.newProject();
        Workspace workspace = pc.newWorkspace(project, configuration);

        GraphModel gm = graphController.getGraphModel(workspace);
        Assert.assertEquals(gm.getConfiguration(), configuration);
    }