@Test
public void findAllUnderlying() {

    List<WebElement> expected = Collections.singletonList(webElement2);
    when(webElement.findElements(By.xpath(BasicPath.div.getXPath().get()))).thenReturn(expected);
    Path path = BasicPath.builder().withUnderlying(webElement).withXpath("div").build();
    assertThat(InBrowserFinder.findAll(driverMock, path), is(equalTo(expected)));
}