An integration test is a higher level test for the whole knowledge base. It tests rule interactions. Instead of mock objects, it uses fully setup objects (services, repositories, and so on). A ruleflow integration test should test the whole ruleflow—definition and rules together.
An integration test involving rules is no different from a standard integration test. We'll now look at rule acceptance testing.