We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unless I overlooked something, I miss a Spy(T obj, Closure interactions) method to do
Spy(T obj, Closure interactions)
def availableRestrictions = Spy(availableRestrictionsInstance) { stream() >> { callRealMethod().limit(amount) } }
instead of
def availableRestrictions = Spy(availableRestrictionsInstance) availableRestrictions.stream() >> { callRealMethod().limit(amount) }
The text was updated successfully, but these errors were encountered:
Add Spy(T obj, Closure interactions) (#1028)
775a387
Add Spy(T obj, Closure interactions) (#1028) (#1115)
422641f
Co-authored-by: Marcin Zajączkowski <szpak@users.sourceforge.net>
Successfully merging a pull request may close this issue.
Unless I overlooked something, I miss a
Spy(T obj, Closure interactions)
method to doinstead of
The text was updated successfully, but these errors were encountered: