Factory factory = new Factory();
assertEquals(factory.numberOfParams(), 2);
ArrayList<String> params = new ArrayList<String>();
params.add(0, "100");
params.add(1, "200");
assertEquals(factory.createOperator(params).getClass(),
new NumericalRangeOperator(100, 200).getClass());
}
/**
* Test metody toString.