final MockObjectSource objectSource = new MockObjectSource(1);
final MockTupleSource tupleSource = new MockTupleSource(1);
ReteooRuleBase ruleBase = (ReteooRuleBase) RuleBaseFactory
.newRuleBase();
BuildContext buildContext = new BuildContext(ruleBase, ruleBase
.getReteooBuilder().getIdGenerator());
final JoinNode joinNode = new JoinNode(2, tupleSource, objectSource,
EmptyBetaConstraints.getInstance(),
Behavior.EMPTY_BEHAVIOR_LIST, buildContext);