Add onLineContaining ...

...as it will often be easier to test against a particular line by referencing its content rather than figuring out the line number.
It only has to a unique substring in the line you have already identified with atLineContaining. I think it will basically always be possible to know what to put there, especially since this is in the context of a test where you can tweak the code being test-compiled if necessary.