assertEquals("x", (String) results.getIdentifiers().toArray()[1]);
}
@Test
public void testBatchSimpleWithSetInGlobal() {
FluentBatchExecution f = new FluentBatchExecutionImpl();
List list = new ArrayList();
// @formatter:off
BatchExecutionCommand cmd = f.newBatchExecution()
.setGlobal("list", list).set("myGlobal")
.insert(new Person("yoda", 150)).set("y")
.insert(new Person("salaboy", 28)).set("x")
.fireAllRules()
.getBatchExecution();