update unit test
@ -133,6 +133,7 @@ public class ShellCommandExecutorTest {
}
};
@Override
public InputStream getInputStream() {
return new InputStream() {
@ -142,18 +143,22 @@ 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");