Last active
February 16, 2020 17:49
-
-
Save nhoxbypass/38ce60224c32790e86e8a73ae6f361c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class MyPresenterTest { | |
@Test | |
fun onOpenCameraButtonClick_postM() { | |
setFinalStatic(Build.VERSION::class.java.getField("SDK_INT"), 23) | |
// Verify flow request Runtime Permissions | |
// ... | |
} | |
@After | |
fun tearDown() { | |
setFinalStatic(Build.VERSION::class.java.getField("SDK_INT"), 0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment