use of org.apache.gobblin.source.extractor.extract.google.GoogleDriveExtractor in project incubator-gobblin by apache.
the class GoogleDriveSourceTest method testGetExtractor.
public void testGetExtractor() throws IOException {
@SuppressWarnings("rawtypes") GoogleDriveSource source = new GoogleDriveSource<>();
GoogleDriveFsHelper fsHelper = mock(GoogleDriveFsHelper.class);
source.fsHelper = fsHelper;
Extractor extractor = source.getExtractor(new WorkUnitState());
Assert.assertTrue(extractor instanceof GoogleDriveExtractor);
}
Aggregations