assertj-examples
assertj-examples copied to clipboard
Custom Assumptions
This is more of a question than an issue. Is there a reason why custom assumptions can't done similar to custom assertions? (or am I just not finding the documentation on how to do this?)
So that this is possible:
assumeThat(frodo).hasRace("hobbit");
Instead of having to do this:
assumeThat(frodo.getRace()).isEqualTo("hobbit");
Thanks in advance.