@Test(expected = SshException.class) public void throwSshExceptionIfStdoutOrStdeerIsNullTestNull() throws SshException { SshHelper.throwSshExceptionIfStdoutOrStdeerIsNull(null, null); }
@Test public void throwSshExceptionIfStdoutOrStdeerIsNullTestNotNull() throws SshException { InputStream inputStream = Mockito.mock(InputStream.class); SshHelper.throwSshExceptionIfStdoutOrStdeerIsNull(inputStream, inputStream); }
throwSshExceptionIfStdoutOrStdeerIsNull(stdout, stderr);
@Test(expected = SshException.class) public void throwSshExceptionIfStdoutOrStdeerIsNullTestNull() throws SshException { SshHelper.throwSshExceptionIfStdoutOrStdeerIsNull(null, null); }
@Test public void throwSshExceptionIfStdoutOrStdeerIsNullTestNotNull() throws SshException { final InputStream inputStream = Mockito.mock(InputStream.class); SshHelper.throwSshExceptionIfStdoutOrStdeerIsNull(inputStream, inputStream); }