source.addTupleDeclaration( this.stringDecl );
sources.add( source );
InstrumentedCondition cond = new InstrumentedCondition( );
cond.addDeclaration( this.stringDecl );
TupleSource found;
found = this.builder.findMatchingTupleSourceForCondition( cond, sources );
assertNotNull( found );
assertSame( source, found );
// ----------------------------------------
// ----------------------------------------
sources.clear( );
source = new MockTupleSource( );
source.addTupleDeclaration( this.objectDecl );
found = this.builder.findMatchingTupleSourceForCondition( cond, sources );
assertNull( found );
// ----------------------------------------
// ----------------------------------------
cond.addDeclaration( this.objectDecl );
sources.clear( );
source = new MockTupleSource( );