diff options
Diffstat (limited to 'security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java')
-rw-r--r-- | security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java b/security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java index 0912920..731bf5e 100644 --- a/security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java +++ b/security-util-lib/src/test/java/org/onap/sdc/security/logging/wrappers/LoggerTest.java @@ -14,10 +14,10 @@ */ package org.onap.sdc.security.logging.wrappers; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.any; import static org.mockito.Mockito.anyCollection; import static org.mockito.Mockito.anyString; @@ -59,7 +59,7 @@ public class LoggerTest { @Test public void isDebugEnabled() { - assertTrue("Debug level not enabled", log.isDebugEnabled()); + assertTrue(log.isDebugEnabled(),"Debug level not enabled"); } @Test @@ -69,23 +69,23 @@ public class LoggerTest { @Test public void isTraceEnabled() { - assertFalse("Trace level should not enabled", spy.isTraceEnabled()); + assertFalse(spy.isTraceEnabled(),"Trace level should be enabled"); } @Test public void isErrorEnabled() { - assertTrue("Error level is not enabled", spy.isErrorEnabled()); + assertTrue(spy.isErrorEnabled(),"Error level is not enabled"); } @Test public void isWarnEnabled() { - assertTrue("Warn level is not enabled", spy.isWarnEnabled()); + assertTrue(spy.isWarnEnabled(),"Warn level is not enabled"); } @Test public void isInfoEnabled() { - assertTrue("Info level is not enabled", spy.isInfoEnabled()); + assertTrue(spy.isInfoEnabled(), "Info level is not enabled"); } @Test @@ -399,4 +399,4 @@ public class LoggerTest { anyString(), any(ErrorLogOptionalData.class), anyString(), anyCollection(), anyCollection(), anyCollection()); } -}
\ No newline at end of file +} |