.getInstanceToMatchOnDatasetPath(
matchPattern, substitutionPattern, duration );
assertTrue( timeCoverageEnhancer != null );
InvDatasetImpl ds = new InvDatasetImpl( null, dsName );
CrawlableDataset crDs = new MockCrawlableDataset( dsName, false );
assertTrue( "Failed to add metadata.",
timeCoverageEnhancer.addMetadata( ds, crDs ) );
// This dataset hasn't been finalized so ds.getTimeCoverage() doesn't work.