public void awaitAssertJAssertionDisplaysOriginalErrorMessageAndTimeoutWhenConditionTimeoutExceptionOccurs() {
exception.expect(ConditionTimeoutException.class);
exception.expectMessage(startsWith("Condition defined as a lambda expression in " + AwaitilityJava8Test.class.getName()));
exception.expectMessage(endsWith("expected:<[1]> but was:<[0]> within 120 milliseconds."));
new Asynch(fakeRepository).perform();
with().pollInterval(10, MILLISECONDS).then().await().atMost(120, MILLISECONDS).until(
() -> Assertions.assertThat(fakeRepository.getValue()).isEqualTo(1));
}