/** Should pass fine because elements are initialized during page initialization */
  @Test
  public void testAccessNotLazyExistingListElement() throws CreatePageException {
    driver.get(ResourceUtil.getResourceURI("elementList.html"));
    TestPageListElement testPage = pageFactory.initPage(TestPageListElement.class);

    assertEquals(testPage.getTexts().size(), 5);

    for (WebDriverElement text : testPage.getTexts()) assertEquals(text.getText(), "some text");
  }
  /**
   * Should pass fine because we are locating elements during page initialization which are present
   * on the page
   */
  @Test
  public void testFindNotLazyExistingListElement() throws CreatePageException {
    driver.get(ResourceUtil.getResourceURI("elementList.html"));
    TestPageListElement testPage = pageFactory.initPage(TestPageListElement.class);

    assertEquals(testPage.getTexts().size(), 5);
  }