I would like be able to receive meaningful errors, for example
Set set = new HashSet();
await().until(() -> set.contains("foo"));
// during waiting
set.add("bar")
// after timeout
"Condition 'foo' should be in set=['bar'] not fulfilled
I can write
await().alias("'foo' should be in set").until(() -> set.contains("foo"));
and get
"Condition with alias 'foo' should be in set not fulfilled
But I would like to see set content when condition was timeouted