@Test
public void testInvalidParamsCreation() throws Exception {

    Map<String, Serializable> params = Collections.emptyMap();
    try {
        csvDataStoreFactory.createDataStore(params);
    } catch (IllegalArgumentException e) {
        assertTrue(true);
        return;
    } catch (Exception e) {
    }
    fail("Did not throw illegal argument exception for null file");
}