coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Failed Eventually.assertThat(invoking(...), Matcher) method should provide more detail #228

Open brianoliver opened 9 years ago

brianoliver commented 9 years ago

Consider the following code:

Eventually.assertThat(invoking(obj).someMethod(x, y), is(z));

Should the matcher fail all we a presented with are the actual and expected values (actual being the return value from "someMethod" and expected being "z").

Instead it could present the method chain used, including the parameters passed. This would be very helpful when using parameterized asserts.

brianoliver commented 8 years ago

This issue was imported from JIRA ORACLETOOLS-228

brianoliver commented 9 years ago

Reported by @brianoliver