Examples of lumpyMapGlobals()


Examples of org.drools.guvnor.client.qa.testscenarios.ScenarioHelper.lumpyMapGlobals()

    l.add(new FactData("X", "c", new ArrayList(), true));
    l.add(new FactData("Q", "a", new ArrayList(), true));
    l.add(new FactData("Q", "b", new ArrayList(), true));

    ScenarioHelper hlp = new ScenarioHelper();
    Map m = hlp.lumpyMapGlobals(l);
    assertEquals(2, m.size());
    List fd = (List) m.get("X");
    assertEquals(2, fd.size());
    assertEquals("d", ((FactData)fd.get(0)).name);
    assertEquals("c", ((FactData)fd.get(1)).name);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.