1 package org.onap.appc.adapter.netconf.jsch;
3 import org.junit.Assert;
6 import java.io.IOException;
8 public class TestJSchLogger {
12 public void testIsEnabled() throws IOException {
13 JSchLogger jSchLogger = new JSchLogger();
15 boolean response = jSchLogger.isEnabled(2);
17 Assert.assertEquals(true, response);
21 public void testLog() throws IOException {
22 JSchLogger jSchLogger = new JSchLogger();
24 jSchLogger.log(0, "test-debug");
25 jSchLogger.log(1, "test-info");
26 jSchLogger.log(2, "test-warn");
27 jSchLogger.log(3, "test-error");
28 jSchLogger.log(4, "test-fatal");
29 jSchLogger.log(5, "test-other");