[575] junit-native does not support org.junit.rules.ExpectedException.
Fixies issue #575 by registering all used subclasses of TypeSafeMatcher and TypeSafeDiagnosingMatcher for reflective access to all declared methods.
@tzezula I added more reviewers. Could you please add a test or test project for this? Not sure whether this will do the trick. Instead of adding it as a new sample, maybe you could extend an existing one?
@fniephaus I've added the test
The content of this PR will be included together with main JUnit refactoring PR (here) to avoid additional (rebase and refactoring) work on this PR. Once we merge that PR, we can close this one
Implemented here: https://github.com/graalvm/native-build-tools/pull/693