### Question:
MongoDbConnectionAnalyzer extends BaseKettleMetaverseComponent implements
  IConnectionAnalyzer<MongoDbMeta, MongoDbMeta> { @Override public List<MongoDbMeta> getUsedConnections( MongoDbMeta meta ) { List<MongoDbMeta> metas = new ArrayList<MongoDbMeta>(); metas.add( meta ); return metas; }  @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 testGetUsedConnections() throws Exception { List<MongoDbMeta> dbMetaList = analyzer.getUsedConnections( mongoDbMeta ); assertEquals( 1, dbMetaList.size() ); assertEquals( mongoDbMeta, dbMetaList.get( 0 ) ); }