Unable to import static android.support.test.espresso.contrib.DrawerMatchers.isOpen;
<p>I am using espresso for testing my android application. When am trying to write test cases for navigation drawer menu am unable to import any of these</p>

<pre><code>import static android.support.test.espresso.contrib.DrawerActions.closeDrawer;
import static android.support.test.espresso.contrib.DrawerActions.openDrawer;
import static android.support.test.espresso.contrib.DrawerMatchers.isClosed;
import static android.support.test.espresso.contrib.DrawerMatchers.isOpen;
</code></pre>

<p>So please help me from this</p>