Fix sonar issues
[oom/platform/cert-service.git] / certServiceClient / src / test / java / org / onap / aaf / certservice / client / certification / PrivateKeyToPemEncoderTest.java
index def9c1d..41f15bb 100644 (file)
@@ -44,7 +44,7 @@ class PrivateKeyToPemEncoderTest {
     private static final String PRIVATE_KEY_PEM_PATH = RESOURCES_DIR + "rsaPrivateKeyPem";
 
     @Test
-    public void shouldReturnProperlyEncodedPrivateKey() throws InvalidKeySpecException, NoSuchAlgorithmException, PkEncodingException, IOException {
+    void shouldReturnProperlyEncodedPrivateKey() throws InvalidKeySpecException, NoSuchAlgorithmException, PkEncodingException, IOException {
         //given
         String expectedPem = Files.readString(Paths.get(PRIVATE_KEY_PEM_PATH));
         PrivateKeyToPemEncoder testedPkEncoder = new PrivateKeyToPemEncoder();
@@ -63,4 +63,4 @@ class PrivateKeyToPemEncoderTest {
         KeyFactory kf = KeyFactory.getInstance(ENCRYPTION_ALGORITHM);
         return kf.generatePrivate(spec);
     }
-}
\ No newline at end of file
+}