Hi, I haven't put Foo in my Java code as it is a transient type which I need to the rule processing and not really part of my ontology model. Anything which isn't part of ontology model but which I need to do the rule processing, I put those types in my DRL file.
I'll explain what I am trying to achieve: I am writing some JUnit test classes and I would like to test for specific values for some attributes in the declared types in my DRL file. So in the example I gave, I would like to assert that during rule processing the value of Foo.score == 4. So basically I would like to query the working memory for this type and get the value of the score attribute. Is there a good way of doing this? -- View this message in context: http://drools.46999.n3.nabble.com/WorkingMemoryListener-Declared-Types-tp4025391p4025396.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
