diff options
Diffstat (limited to 'ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java')
-rw-r--r-- | ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java index db6ca2f7..c7def379 100644 --- a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java +++ b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/util/EPUserUtilsTest.java @@ -333,7 +333,7 @@ public class EPUserUtilsTest { @Test(expected=RoleFunctionException.class) public void decodeFunctionCodeTestWithException() throws DecoderException, RoleFunctionException { PowerMockito.mockStatic(Hex.class); - PowerMockito.when(Hex.decodeHex(Matchers.any())).thenThrow(DecoderException.class); + PowerMockito.when(Hex.decodeHex(Matchers.anyString().toCharArray())).thenThrow(DecoderException.class); EPUserUtils.decodeFunctionCode("n+"); } |