Created
May 1, 2019 15:42
-
-
Save truongngoclinh/e791135b92fb2221f42a88ee863c1f77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun <T> any(): T { | |
Mockito.any<T>() | |
return uninitialized() | |
} | |
private fun <T> uninitialized(): T = null as T |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment