I'm trying to create some tests for some Validators that I'm creating. But I can't figure out an easy way to create MockValidationContext. I don't want to create the whole environment that I would for Processors.
I looked at nifi/nifi-commons/nifi-processor-utilities/src/test/java/org/apache/nifi/processor/util/TestStandardValidators.java and it looks that it just uses Mockito to mock it. So, is that the recommended way to do it. Will that allow me to control the ValidationContext? Also, not sure if asking two questions in one email is allowed, what is the subject parameter in the validate method? Devin
