no but you can do:
not( Building() )
Stuart Moffatt wrote:
The incoming building was initialized like this:
Building building = null;
FactHandle buildingFact = businessRuleSession.insert( building );
businessRuleSession.setFocus("validate delete or get building");
Can drools test for this null building?
What should the rule look like?
rule "building is null"
agenda-group "validate delete or get building"
boException : BOException()
Building() == null /* this is the problem here -- not sure
what this should look like */
rules-users mailing list