CSVDataStore extends ContentDataStore implements FileDataStore { public Name getTypeName() { return new NameImpl(FilenameUtils.getBaseName(file.getPath())); } CSVDataStore(File file);  CSVDataStore(File file, URI namespace);  CSVDataStore(File file, URI namespace, CSVStrategyFactory csvStrategyFactory); Name getTypeName(); @Override SimpleFeatureType getSchema(); @Override void updateSchema(SimpleFeatureType featureType); @Override SimpleFeatureSource getFeatureSource(); @Override FeatureReader<SimpleFeatureType, SimpleFeature> getFeatureReader(); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(Filter filter,
            Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriter(Transaction transaction); @Override FeatureWriter<SimpleFeatureType, SimpleFeature> getFeatureWriterAppend(
            Transaction transaction); CSVStrategy getCSVStrategy();  }
@Test public void testGetTypeName() { Name typeName = csvDataStore.getTypeName(); assertEquals("Invalid type name", "locations", typeName.getLocalPart()); }