* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aaf.certservice.client.certification;
import org.junit.jupiter.api.Test;
KeyPairFactory keyPairFactory = new KeyPairFactory(NOT_EXISTING_ENCRYPTION_ALGORITHM,
EncryptionAlgorithmConstants.KEY_SIZE);
// when, then
- assertThatThrownBy(() -> keyPairFactory.create()).isInstanceOf(KeyPairGenerationException.class);
+ assertThatThrownBy(keyPairFactory::create).isInstanceOf(KeyPairGenerationException.class);
}
}
\ No newline at end of file