QueryImpl query = new QueryImpl( mock( Condition.class ) );
Instruction instruction = mock( Instruction.class );
Instruction instruction2 = mock( Instruction.class );
Instruction instruction3 = mock( Instruction.class );
Rule rule = query.then( instruction, instruction2, instruction3 );
List<Instruction> instructions = rule.getInstructions();
assertEquals( instructions.get( 0 ), instruction );
assertEquals( instructions.get( 1 ), instruction2 );
assertEquals( instructions.get( 2 ), instruction3 );
}