### Question:
BlueprintsGraphMetaverseReader implements IMetaverseReader { protected Graph getGraph() { return graph; } BlueprintsGraphMetaverseReader( Graph graph ); @Override IMetaverseNode findNode( String id ); @Override List<IMetaverseNode> findNodes( String property, String value ); @Override IMetaverseLink findLink( String leftNodeID, String linkType, String rightNodeID, Direction direction ); @Override Graph getMetaverse(); @Override String exportToXml(); @Override String exportFormat( String format ); void exportToStream( String format, OutputStream out ); @Override Graph search( List<String> resultTypes, List<String> startNodeIDs, boolean shortestOnly ); @Override Graph getGraph( String id );  }### Answer:
@Test public void testGetGraph() throws Exception { BlueprintsGraphMetaverseReader metaverseReader = new BlueprintsGraphMetaverseReader( graph ); Graph g = metaverseReader.getGraph( "datasource1.table1.field1" ); assertNotNull( "Graph is null", g ); GraphMLWriter writer = new GraphMLWriter(); writer.outputGraph( graph, new FileOutputStream( OUTPUT_FOLDER + "testGetGraph.graphml" ) ); g = metaverseReader.getGraph( "bogus" ); assertNull( "Node is not null", g ); }