add unit test
@ -133,7 +133,6 @@ public class ShellCommandExecutorTest {
}
};
@Override
public InputStream getInputStream() {
return new InputStream() {
@ -143,22 +142,18 @@ public class ShellCommandExecutorTest {
public InputStream getErrorStream() {
return null;
public int waitFor() throws InterruptedException {
return 0;
public int exitValue() {
public void destroy() {
logger.info("unit test");