Join Slack
Powered by
you're mocking a final method, and passing the res...
# test
n
nhaarman
06/22/2017, 8:21 AM
you're mocking a final method, and passing the result of
any()
to it. The final method gets executed, and
any()
returns
null
, hence a
NullPointerException
.
5
Views
Open in Slack
Previous
Next