Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3 WARNING: A Java agent has been loaded dynamically (/tmp/r/net/bytebuddy/byte-buddy-agent/1.10.19/byte-buddy-agent-1.10.19.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release [main] ERROR org.onap.sdnc.vnftools.VnfTools - This method requires the parameters [string_to_search,string_to_find,result_ctx_string], but no parameters were passed in. [main] ERROR org.onap.sdnc.vnftools.VnfTools - This method requires the parameters [return-key], but no parameters were passed in. [main] ERROR org.onap.sdnc.vnftools.VnfTools - Parameter(base) needs at least length 4 but only have 3 [main] ERROR org.onap.sdnc.vnftools.VnfTools - This method requires the parameters [base,suffix,return-path], but no parameters were passed in.