@Test()
  public void shouldNotFindChildElementByName() {
    openStartActivity();
    WebElement rootElement = driver().findElement(By.id("l10n"));
    try {
      rootElement.findElement(By.name("cdDoesNotExist"));
      Assert.fail("Should not have succeeded");
    } catch (NoSuchElementException e) {
      // this is expected
    }
  }
Child element finding test for the native view part of selendroid.

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