Test for getInstance(String algorithm) method
Assertions:
throws NullPointerException must be thrown is null
throws NoSuchAlgorithmException must be thrown if algorithm is not available
returns AlgorithmParameterGenerator object
Test for getInstance(String algorithm, String provider)
method
Assertions:
throws NullPointerException must be thrown is null
throws NoSuchAlgorithmException must be thrown if algorithm is not available
throws IllegalArgumentException when provider is null;
throws NoSuchProviderException when provider is available;
returns AlgorithmParameterGenerator object
Test for getInstance(String algorithm, Provider provider)
method
Assertions:
throws NullPointerException must be thrown is null
throws NoSuchAlgorithmException must be thrown if algorithm is not available
throws IllegalArgumentException when provider is null;
returns AlgorithmParameterGenerator object