@Test
 public void graphType() {
   GraphWidget graph = parse("graph Sample{1;2;1--2}"); // $NON-NLS-1$
   Assert.assertNotNull("Created graph must not be null", graph); // $NON-NLS-1$
   Assert.assertEquals(ZestStyles.CONNECTIONS_SOLID, graph.getConnectionStyle());
   Assert.assertEquals(
       ZestStyles.CONNECTIONS_SOLID,
       ((GraphConnection) graph.getConnections().get(0)).getConnectionStyle());
 }
 @Test
 public void dotImport() {
   Shell shell = new Shell();
   DotImport importer = new DotImport("digraph Sample{1;2;1->2}"); // $NON-NLS-1$
   GraphWidget graph = new GraphWidget(importer.newGraphInstance(), shell, SWT.NONE);
   Assert.assertNotNull("Created graph must not be null", graph); // $NON-NLS-1$
   Assert.assertEquals(ZestStyles.CONNECTIONS_DIRECTED, graph.getConnectionStyle());
   // open(shell);
 }