builder.defaultFact(message);
// OrderEntryPoint that matches the entry-point name in PricingRulesStatfulEntryPoint.drl.
builder.fact("OrderEntryPoint", objectMapper.getObjectFromMessage(message, "body.Order"));
// process message
StatefulRuleInfo statefulInfo = new StatefulRuleInfoImpl(builder.build(), false, true);
message = ruleService.executeStatefulRules(statefulInfo, message);
assertEquals( 20.0, order.getDiscount(), 0 );
assertEquals( "20%" ,message.getBody().get("DiscountObject"));