diff options
Diffstat (limited to 'common/src/test/java/org/openecomp')
-rw-r--r-- | common/src/test/java/org/openecomp/mso/utils/CryptoUtilsESTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/src/test/java/org/openecomp/mso/utils/CryptoUtilsESTest.java b/common/src/test/java/org/openecomp/mso/utils/CryptoUtilsESTest.java index 397db374bb..59e8cec92d 100644 --- a/common/src/test/java/org/openecomp/mso/utils/CryptoUtilsESTest.java +++ b/common/src/test/java/org/openecomp/mso/utils/CryptoUtilsESTest.java @@ -11,6 +11,8 @@ import static org.evosuite.runtime.EvoAssertions.*; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; +import java.security.InvalidKeyException; + import org.evosuite.runtime.EvoRunner; import org.evosuite.runtime.EvoRunnerParameters; import org.junit.runner.RunWith; @@ -65,7 +67,7 @@ public class CryptoUtilsESTest extends CryptoUtilsESTestscaffolding { CryptoUtils.decrypt("B20000000000000000000000000000000000000000000000", "B20000000000000000000000000000000000000000000000"); fail("Expecting exception: IllegalBlockSizeException"); - } catch(IllegalBlockSizeException e) { + } catch(IllegalBlockSizeException | InvalidKeyException e) { } } |