aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-ssh-adapter
diff options
context:
space:
mode:
Diffstat (limited to 'appc-adapters/appc-ssh-adapter')
-rw-r--r--appc-adapters/appc-ssh-adapter/appc-ssh-adapter-tests/src/test/java/org/onap/appc/adapter/ssh/TestSshConnectionMock.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/appc-adapters/appc-ssh-adapter/appc-ssh-adapter-tests/src/test/java/org/onap/appc/adapter/ssh/TestSshConnectionMock.java b/appc-adapters/appc-ssh-adapter/appc-ssh-adapter-tests/src/test/java/org/onap/appc/adapter/ssh/TestSshConnectionMock.java
index 2d157f128..9443f3d8e 100644
--- a/appc-adapters/appc-ssh-adapter/appc-ssh-adapter-tests/src/test/java/org/onap/appc/adapter/ssh/TestSshConnectionMock.java
+++ b/appc-adapters/appc-ssh-adapter/appc-ssh-adapter-tests/src/test/java/org/onap/appc/adapter/ssh/TestSshConnectionMock.java
@@ -88,4 +88,16 @@ public class TestSshConnectionMock {
sshConnectionMock.setExecTimeout(20);
assertEquals(20,sshConnectionMock.getExecTimeout());
}
+
+ @Test
+ public void testConnectCallCount()
+ {
+ assertEquals(0, sshConnectionMock.getConnectCallCount());
+ }
+
+ @Test
+ public void testDisconnectCallCount()
+ {
+ assertEquals(0, sshConnectionMock.getDisconnectCallCount());
+ }
}