diesieben0709/10/2017, 10:38 PM
is inferred to have type
, you can assign it to both
. If you do the former, you will get a null check. If you pass
to a Java method again, you will again, not get a null check, which is what I think is going on in your Mockito example.