use of org.apache.nifi.toolkit.tls.util.PasswordUtil in project nifi by apache.
the class TlsToolkitStandaloneCommandLineTest method setup.
@Before
public void setup() {
secureRandom = mock(SecureRandom.class);
doAnswer(new ForwardsInvocations(new Random())).when(secureRandom).nextBytes(any(byte[].class));
tlsToolkitStandaloneCommandLine = new TlsToolkitStandaloneCommandLine(new PasswordUtil(secureRandom));
}
Aggregations