### Question:
TransExtensionPointUtil { public static void addLineageGraph( final TransMeta transMeta ) throws MetaverseException { if ( transMeta == null ) { throw new MetaverseException( Messages.getString( "ERROR.Document.IsNull" ) ); } String filename = getFilename( transMeta ); final Graph graph = new TinkerGraph(); final IMetaverseBuilder metaverseBuilder = new MetaverseBuilder( graph ); final IMetaverseObjectFactory objFactory = MetaverseUtil.getDocumentController().getMetaverseObjectFactory(); final String clientName = KettleClientEnvironment.getInstance().getClient().toString(); final INamespace namespace = new Namespace( clientName ); final IMetaverseNode designNode = objFactory.createNodeObject( clientName, clientName, DictionaryConst.NODE_TYPE_LOCATOR ); metaverseBuilder.addNode( designNode ); final IDocument document = MetaverseUtil.createDocument( namespace, transMeta, filename, transMeta.getName(), transMeta.getDefaultExtension(), URLConnection.getFileNameMap().getContentTypeFor( "trans.ktr" ) ); MetaverseUtil.addLineageGraph( document, graph ); }  static void addLineageGraph( final TransMeta transMeta ); static String getFilename( TransMeta transMeta );  }### Answer:
@Test( expected = MetaverseException.class ) public void testAddLineageGraphNullTransMeta() throws Exception { TransExtensionPointUtil.addLineageGraph( null ); }