diff options
author | 2020-06-17 09:31:08 +0200 | |
---|---|---|
committer | 2020-06-23 16:11:57 +0200 | |
commit | ffa2b75513bac0ac7aa39bdb6d0b77f751735c5e (patch) | |
tree | 352ce2e8593cfb0ce5d99f0e7dd2111ed923fc83 /certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java | |
parent | 7feb6ab1d172070c1532106ff699eb99be33c826 (diff) |
Move ArtifcatsCreationProvider one level higher
Code style cleanup (warnings from checkstyle).
Issue-ID: AAF-1152
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Change-Id: I0a8bbd998cd6aed4cf818ffe10c7fbffe99e9d22
Diffstat (limited to 'certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java')
-rw-r--r-- | certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java b/certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java index 6a4741a2..3d3d3c17 100644 --- a/certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java +++ b/certServiceClient/src/test/java/org/onap/aaf/certservice/client/certification/KeyPairFactoryTest.java @@ -16,6 +16,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ + package org.onap.aaf.certservice.client.certification; import org.junit.jupiter.api.Test; @@ -46,7 +47,7 @@ class KeyPairFactoryTest { 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 |