I tried using @RunOnVertxContext and UniAsserter with an old test that was based on JUnit's assertThrows but it seems UniAsserter does not offer a method to perform that kind of assertion.
Implementation ideas
Mutiny has UniAssertSubscriber#assertFailedWith which almost does what I need but it does not allow assertions on the exception cause.
If UniAsserter could have an assertThrows or assertFailedWith method with the possibility to check the exception cause, that would be even better.
Description
I tried using
@RunOnVertxContext
andUniAsserter
with an old test that was based on JUnit'sassertThrows
but it seemsUniAsserter
does not offer a method to perform that kind of assertion.Implementation ideas
Mutiny has
UniAssertSubscriber#assertFailedWith
which almost does what I need but it does not allow assertions on the exception cause.If
UniAsserter
could have anassertThrows
orassertFailedWith
method with the possibility to check the exception cause, that would be even better.https://github.com/quarkusio/quarkus/issues/18778
$upstream:18778$