@Test
public void findWithUnderlying() {

    when(webElement.findElement(By.xpath(BasicPath.div.getXPath().get()))).thenReturn(webElement2);
    Path path = BasicPath.builder().withUnderlying(webElement).withXpath("div").build();
    assertThat(InBrowserFinder.find(driverMock, path), is(webElement2));
}