@Test public void testSetOutputStream() throws Exception { final OutputStream stream = mock(OutputStream.class); when(shell.isClosed()).thenReturn(Boolean.TRUE); terminal.setOutputStream(stream); executeCommandsHelper(terminal, Arrays.asList("I am a command"), "osPromptPattern"); verify(shell, times(1)).setOutputStream(stream); }
public void setOutputStream(final OutputStream stream) { this.stream = stream; }
JSchSshTerminal { public void setOutputStream(final OutputStream stream) { this.stream = stream; } }
JSchSshTerminal { public void setOutputStream(final OutputStream stream) { this.stream = stream; } JSchSshTerminal();  JSchSshTerminal(final ConnectionPool pool); }
JSchSshTerminal { public void setOutputStream(final OutputStream stream) { this.stream = stream; } JSchSshTerminal();  JSchSshTerminal(final ConnectionPool pool); TerminalResponse executeCommandGroups(final List<CommandExpectationGroup> commandExpectationGroups); void setOutputStream(final OutputStream stream); void setExpectationTimeout(final long expectationTimeout); }
JSchSshTerminal { public void setOutputStream(final OutputStream stream) { this.stream = stream; } JSchSshTerminal();  JSchSshTerminal(final ConnectionPool pool); TerminalResponse executeCommandGroups(final List<CommandExpectationGroup> commandExpectationGroups); void setOutputStream(final OutputStream stream); void setExpectationTimeout(final long expectationTimeout);  }