@Test
public void testWaitCompletion() throws SW360Exception {

    executionTimeout = 100;
    doCallRealMethod().when(fossologySshConnector).waitCompletion(channel, executionTimeout); // reset spy
    when(channel.isClosed()).thenReturn(true);
    fossologySshConnector.waitCompletion(channel, executionTimeout);
}