Fixed health check issue
[portal.git] / ecomp-portal-BE-common / src / test / java / org / onap / portalapp / util / EPUserUtilsTest.java
index 80ca142..c7def37 100644 (file)
@@ -59,7 +59,6 @@ import javax.servlet.http.HttpServletResponse;
 import javax.servlet.http.HttpSession;
 
 import org.apache.commons.codec.binary.Hex;
-import org.drools.core.command.assertion.AssertEquals;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -334,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+");
        }