in drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/reproducers/Drools1387AccumulateBenchmark.java [62:110]
public void test(final Blackhole eater) {
MyFact1 fact1 = new MyFact1();
fact1.setId("hoge");
fact1.setValue1("hoge1");
fact1.setValue2("hoge2");
fact1.setValue3("hoge3");
fact1.setValue4("hoge4");
fact1.setValue5("hoge5");
MyFact2 fact2 = new MyFact2();
fact2.setId("hoge");
fact2.setValue1("hoge1");
fact2.setValue2("hoge2");
fact2.setValue3("hoge3");
fact2.setValue4("hoge4");
fact2.setValue5("hoge5");
MyFact3 fact3 = new MyFact3();
fact3.setId("hoge");
fact3.setValue1("hoge1");
fact3.setValue2("hoge2");
fact3.setValue3("hoge3");
fact3.setValue4("hoge4");
fact3.setValue5("hoge5");
MyFact4 fact4 = new MyFact4();
fact4.setId("hoge");
fact4.setValue1("hoge1");
fact4.setValue2("hoge2");
fact4.setValue3("hoge3");
fact4.setValue4("hoge4");
fact4.setValue5("hoge5");
MyFact5 fact5 = new MyFact5();
fact5.setId("hoge");
fact5.setValue1("hoge1");
fact5.setValue2("hoge2");
fact5.setValue3("hoge3");
fact5.setValue4("hoge4");
fact5.setValue5("hoge5");
eater.consume(kieSession.insert(fact1));
eater.consume(kieSession.insert(fact2));
eater.consume(kieSession.insert(fact3));
eater.consume(kieSession.insert(fact4));
eater.consume(kieSession.insert(fact5));
eater.consume(kieSession.fireAllRules());
}