@Test
public void testCSVStrategyGuess() throws Exception {

    Map<String, Serializable> params = new HashMap<String, Serializable>();
    params.put("strategy", "guess");
    params.put("file", file);
    CSVDataStore datastore = (CSVDataStore) csvDataStoreFactory.createDataStore(params);
    CSVStrategy csvStrategy = datastore.getCSVStrategy();
    assertEquals("Unexpected strategy", CSVLatLonStrategy.class, csvStrategy.getClass());
}