title: Android: checking a button is enabled
body: <p>I am having problems testing my app. I created an espresso test which is supposed to fail, since whenever I launch my app in the emulator, I get the expected behavior. There is my test:</p>
  <pre><code> onView(withText(&quot;wrong answer&quot;)).perform(click());
   onView(withId(R.id.nextQuestionButton)).check(matches(isEnabled()));
  </code></pre>
  <p>When launching the test, nothing is reported, whereas nextQuestionButton should <strong>not</strong> be enabled upon clicking the radioButton whose text is &quot;wrong answer&quot;.</p>