// Check the network formation, to ensure the RiaNode is shared.
ObjectTypeNode cheeseOtn = LinkingTest.getObjectTypeNode(kbase, Cheese.class);
ObjectSink[] oSinks = cheeseOtn.getSinkPropagator().getSinks();
assertEquals( 1, oSinks.length );
JoinNode cheeseJoin = ( JoinNode ) oSinks[0];
LeftTupleSink[] ltSinks = cheeseJoin.getSinkPropagator().getSinks();
assertEquals( 1, ltSinks.length );
RightInputAdapterNode rian = ( RightInputAdapterNode ) ltSinks[0];
assertEquals( 2, rian.getSinkPropagator().size() ); // RiaNode is shared, if this has two outputs