@Test(expected = StackAdvisorException.class)
public void testRunScript_processStartThrowsException_returnFalse() throws Exception {

  String script = "echo";
  StackAdvisorCommandType saCommandType = StackAdvisorCommandType.RECOMMEND_COMPONENT_LAYOUT;
  File actionDirectory = temp.newFolder("actionDir");
  ProcessBuilder processBuilder = createNiceMock(ProcessBuilder.class);
  StackAdvisorRunner saRunner = new StackAdvisorRunner();
  stub(PowerMock.method(StackAdvisorRunner.class, "prepareShellCommand"))
      .toReturn(processBuilder);
  expect(processBuilder.start()).andThrow(new IOException());
  replay(processBuilder);
  saRunner.runScript(script, saCommandType, actionDirectory);
}