### Question:
MongoDbConnectionAnalyzer extends BaseKettleMetaverseComponent implements
  IConnectionAnalyzer<MongoDbMeta, MongoDbMeta> { @Override public IComponentDescriptor buildComponentDescriptor( IComponentDescriptor parentDescriptor, MongoDbMeta connection ) { IComponentDescriptor dbDescriptor = new MetaverseComponentDescriptor( connection.getDbName(), DictionaryConst.NODE_TYPE_MONGODB_CONNECTION, parentDescriptor.getNamespace(), parentDescriptor.getContext() ); return dbDescriptor; }  @Override IMetaverseNode analyze( IComponentDescriptor descriptor, MongoDbMeta mongoDbMeta ); @Override List<MongoDbMeta> getUsedConnections( MongoDbMeta meta ); @Override IComponentDescriptor buildComponentDescriptor( IComponentDescriptor parentDescriptor,
                                                        MongoDbMeta connection ); static final String HOST_NAMES; static final String DATABASE_NAME; static final String USE_ALL_REPLICA_SET_MEMBERS; static final String USE_KERBEROS_AUTHENTICATION; static final String CONNECTION_TIMEOUT; static final String SOCKET_TIMEOUT; static final ILogicalIdGenerator ID_GENERATOR; }### Answer:
@Test public void testBuildComponentDescriptor() throws Exception { IComponentDescriptor dbDesc = analyzer.buildComponentDescriptor( mockDescriptor, mongoDbMeta ); assertNotNull( dbDesc ); assertEquals( "db", dbDesc.getName() ); }