public void testFactory() {
Factory factory = new Factory();
assertEquals(factory.numberOfParams(), 1);
ArrayList list = new ArrayList<String>();
list.add("\13");
RegexpOperator operator = factory.createOperator(list);
int arity = operator.arity();
assertEquals(arity, 0);
}
}