Sorry - I misstated.  I meant it as generatesFile("some/file").containing(...);.  I wrote it this way because I misread wasGenerated() at the callsites.  But my specific example above was meant more "along the lines of" not a specific proposal.  I agree with your amendment. 

But we can leave it.