Transactional annotation avoids services being mocked
I have a drools rule file which uses service classes in the rules. So one rule does something like this: eval(countryService.getCountryById(1) != null) In a validationservice that is annotated with @service and @Transactional(propagation=Propagation.SUPPORTS) the drools file is used in a statelessKnowledgebase and facts are added that should be used in the drool. Once that is done the session.execute(facts) is invoked and the rule engine starts. In order to test the rules I would like to stub the countryService.getCountryById(). No big problem using mockito. Done this for other service that