@Test
public void testGetTypeName() throws IOException {

    FileDataStore dataStore = csvDataStoreFactory.createDataStore(locationsResource);
    String[] typeNames = dataStore.getTypeNames();
    assertEquals("Invalid number of type names", 1, typeNames.length);
    assertEquals("Invalid type name", "locations", typeNames[0]);
}