Hello Benfro,

I have a similar problem.
I want to make a test scenario, when an Order has a list (arraylist) of
CollectionRef.
But I don't know how to input that CollectionRef in the Order test scenario
field.

The CollectionRef is a very simple interface:

//////
        private String colCode;
        private String colDescr;
        private Integer nrOfItems;
        
        public CollectionRef(String colCode, String colDescr, Integer 
nrOfItems) {
                super();
                this.colCode = colCode;
                this.colDescr = colDescr;
                this.nrOfItems = nrOfItems;
        }
////


Can you please tell me your workaround?

--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-will-not-let-you-add-elements-to-List-in-fact-object-tp4004819p4018392.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to