@Test
public void testCheckAndAssertForExpectedCondition() throws Exception {

    seleniumNavigationService.navigate_to_url(TEST_PAGE_URL);
    seleniumSynchronisationService.checkAndAssertForExpectedCondition(ExpectedConditions.invisibilityOfElementLocated(By.cssSelector("div[id='text']")));
    seleniumElementService.findExpectedElement(By.cssSelector("button[id='delayedDisplayButton']")).click();
    seleniumSynchronisationService.checkAndAssertForExpectedCondition(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("div[id='text']")));
}