@Test
public void testTypeNames() throws Exception {

    copyFile("Bridges.properties", DESTDIR);
    copyFile("Buildings.properties", DESTDIR);
    copyShapefiles("shapes/archsites.shp");
    File f = copyShapefiles("shapes/bugsites.shp");
    tempDir = f.getParentFile();
    
    DataStore store = new DirectoryDataStore(tempDir, NSURI);
    List<String> typeNames = Arrays.asList(store.getTypeNames());
    assertEquals(4, typeNames.size());
    assertTrue(typeNames.contains("archsites"));
    assertTrue(typeNames.contains("bugsites"));
    assertTrue(typeNames.contains("Bridges"));
    assertTrue(typeNames.contains("Buildings"));
}