OperatorPlan pattern = new SillyPlan();
pattern.add(new OP_Load("mmm1", pattern));
pattern.add(new OP_Load("mmm2", pattern));
Rule r = new SillyRule("basic", pattern);
List<OperatorPlan> l = r.match(plan);
assertEquals(l.size(), 1);
assertEquals(l.get(0).getSources().size(), 2);
assertEquals(l.get(0).getSinks().size(), 2);
assertEquals(l.get(0).size(), 2);