@Test
public void testFindExpectedElement_hiddenExpectedElement() throws IOException {

    seleniumNavigationService.navigate_to_url(MockReferenceDatePopulator.DELAYED_DISPLAY_TEST_PAGE_URL);
    WebElement foundText = seleniumElementService.findExpectedElement(By.id("text"), true);
    assertNotNull(foundText);
    assertFalse(foundText.isDisplayed());
}