@Test(expected=IllegalArgumentException.class)
public void testExceptionOpModeFstCollection() throws Exception {

    logger.info("Running testExceptionOpModeFstCollection ...");
    ArrayList<String> toRemoveFst = new ArrayList<String>();
    toRemoveFst.add("cat2");
    ArrayList<String> toRemoveSnd = new ArrayList<String>();
    toRemoveSnd.add("cat");
    SimpleFeatureCollection output = process.execute(polylineCollection, featuresCollection,toRemoveFst, toRemoveSnd, IntersectionMode.INTERSECTION, true, false);
}