Expectation helper accepting block