### Question:
CSVDataSource extends ImportDataSource { @Override public String generateTypeKey() { return StringUtilities.concat("CSV::", getName(), "::", toString(getSourceUri())); } CSVDataSource();  CSVDataSource(URI sourceUri); CSVParseParameters getParseParameters(); void setParseParameters(CSVParseParameters parseParameters); String getFileLocalPath(Toolbox toolbox); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override CSVDataSource clone(); @Override String generateTypeKey(); Set<String> getColumnFilter();  }### Answer:
@Test public void testGenerateTypeKey() { CSVDataSource dataSource = getTestObject(); File file = new File("x:\\sample_files\\test.csv"); URI uri = file.toURI(); dataSource.setSourceUri(uri); String expectedTypeKey = "CSV::" + dataSource.getName() + "::" + file.getAbsolutePath(); Assert.assertEquals(expectedTypeKey, dataSource.generateTypeKey()); }