You want to minimize the amount of code running within the patch just as a matter of only mocking the use you intend to mock, but the variable still exists after the patch runs out and you can make assertions about it's use.

In this particular case it could be within the block with no issues, but I prefer keeping the habit of "minimize mocking time".