@Test()
  public void shouldNotFindElementByTagName() {
    openStartActivity();
    try {
      driver().findElement(By.tagName("de.dary.MyView.l10nView"));
      Assert.fail("Should not have succeeded");
    } catch (NoSuchElementException e) {
      // this is expected
    }
  }
Element finding test for the native view part of selendroid.

@author ddary
selendroid-test-app/src/test/java/io/selendroid/nativetests/NativeElementFindingTest.java