@Test
public void testCSVStrategyWKTMissingWktField() throws IOException {

    Map<String, Serializable> params = new HashMap<String, Serializable>();
    params.put("strategy", "wkt");
    params.put("file", file);
    try {
        csvDataStoreFactory.createDataStore(params);
    } catch (IllegalArgumentException e) {
        return;
    }
    fail("Expected illegal argument exception for missing wktField");
}