Created
February 22, 2017 10:32
-
-
Save atomgomba/cefc6edfa6f91d1471c9eebab7d548b1 to your computer and use it in GitHub Desktop.
Impossible unit test on Android
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
ArticleViewActivity a = new ArticleViewActivity(); | |
Bundle b = new Bundle(); | |
b.putString("articleId", "bab13"); | |
a.onCreate(b); | |
assertTrue(a.hasArticle()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment