Last active
February 16, 2020 17:50
-
-
Save nhoxbypass/d0d4194be11424546089d3f893f28df9 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
@RunWith(PowerMockRunner::class) | |
@PrepareForTest(Build.VERSION::class) | |
class MyPresenterTest { | |
@Test | |
fun onOpenCameraButtonClick_postM() { | |
Whitebox.setInternalState(Build.VERSION::class.java, "SDK_INT", 23) | |
// Verify flow request Runtime Permissions | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment