Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2780
> (it won't be on the test classpath if you're using JUnit 5)
The global declaration for JUnit is JUnit 4.12. If someone
> It should be "compile" scope, because nifi-mock is making use of JUnit
assertions in non-test code.
nifi-mock is designed to support JUnit tests and I'm not aware of any
components that use JUnit 5.---
