Chain and_yields for any_instance
Created by: kiliancs
This fixes #1025 (closed).
allow_any_instance_of(Klass).to receive(:method).and_yield(1).and_yield(2)
now behaves as expected, instead of raising NoMethodError: Undefined method and_yield
.