@Test()
  public void shouldNotFindElementsByName() {
    openStartActivity();

    assertListIsEmpty(driver().findElements(By.name("cdDoesNotExist")));

  }
Element finding test for the native view part of selendroid.

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