containsString("Please specify a script file to be executed."));
}
@Test
public void testRunScriptByInstanceId() throws Exception {
ClusterControllerFactory factory = mock(ClusterControllerFactory.class);
ClusterController controller = mock(ClusterController.class);
when(factory.create((String)any())).thenReturn(controller);
RunScriptCommand command = new RunScriptCommand(factory);
Map<String, File> keys = KeyPair.generateTemporaryFiles();
int rc = command.run(null, out, System.err, Lists.newArrayList(