title: select item in NavigationView with Espresso
body: <p>I have this piece of code</p>
  
  <pre><code> private void setupDrawerLayout() {
      navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {
          @Override
          public boolean onNavigationItemSelected(MenuItem menuItem) {
  
              final int itemId = menuItem.getItemId();
  
              switch (itemId) {
                  case R.id.drawer_my_mixes:
                      replaceFragment(MyMixesFragment.newInstance());
                      drawerLayout.closeDrawers();
                      break;
                     and so on...
  </code></pre>
  
  <p>I want to make espresso to click <code>R.id.drawer_settings</code> which will basically open a fragment called SettingsFragment. How do I do this? I tried this with no success</p>
  
  <pre><code>private ViewInteraction navigateToSettings(){
      openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());
      return onView(withText("Settings")).perform(click());
  
  }
  </code></pre>