An extension to AssertJ that provides assertion methods using reflection.
Check out the examples directory to see how this library can be used. All available assertions can be found in the project's javadoc.
To install assertj-reflection using Gradle, add it to the list of dependencies in your project's build.gradle:
dependencies {
testImplementation 'io.github.sanderploegsma:assertj-reflection:0.1.0'
}To install assertj-reflection using Maven, add it to the list of dependencies in your project's pom.xml:
<dependencies>
<dependency>
<groupId>io.github.sanderploegsma</groupId>
<artifactId>assertj-reflection</artifactId>
<version>0.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>