SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me:
Espresso.onView(ViewMatchers.withId(R.id.radiobutton)).check(ViewAssertions.matches(isChecked()))