* ================================================================================
* Copyright 2018 TechMahindra
*=================================================================================
+* Modifications Copyright 2019 IBM.
+*=================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
assertNotNull(sshConnectionMock.getExecutedCommands());
assertEquals(false, sshConnectionMock.getExecutedCommands().isEmpty());
}
+
+ @Test
+ public void testExecTimeout()
+ {
+ sshConnectionMock.setExecTimeout(20);
+ assertEquals(20,sshConnectionMock.getExecTimeout());
+ }
}