coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Enhance invoking(...) to support the use of Lambda expressions in Java 8 #200

Closed brianoliver closed 9 years ago

brianoliver commented 9 years ago

It would be nice to be able to do something like following:

Eventually.assertThat(invoking(() -> ... ), is(...));

or just...

Eventually.assertThat(() -> ... ), is(...));

We should be able to detect when a lambda is being used and then automatically defer it's evaluation (ie: turn it into a deferred).

brianoliver commented 8 years ago

This issue was imported from JIRA ORACLETOOLS-200

brianoliver commented 9 years ago

Reported by @brianoliver

brianoliver commented 9 years ago

Marked as fixed by @brianoliver on Friday, November 21st 2014, 1:56:53 pm