Fork of reflection assert from Unitils (http://www.unitils.org) compatible with JUnit 5.
First of all, add JitPack to your project:
repositories {
// ...
maven { url "https://jitpack.io" }
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then add the dependency:
testCompile 'com.github.hpple:reflection-assert:0.1'
<dependency>
<groupId>com.github.hpple</groupId>
<artifactId>reflection-assert</artifactId>
<version>0.1</version>
</dependency>