title: Android, how to test Google Map
body: <p>So, I have problems with testing my Google Map functionality. In my activty I have callback <code>onMapClick(LatLng latlng)</code> in which there is method to show/hide toolbar. Now, I would like to test it, but I have no clue how to perform click on the map. I tried to use this:</p>
  
  <pre><code>onView(withContentDescription("Mapa Google")).perform(click());
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>UiDevice device = UiDevice.getInstance(getInstrumentation());
  UiObject map = device.findObject(new UiSelector()
          .descriptionContains("Mapa Google"));
  map.click();
  </code></pre>
  
  <p>but it seams that, it doesn't work. Do you know how can I test this kind of behavior?</p>