}
private void assertCommand(String command, String expected) throws RemoteException, ShellException {
CollectingOutput out = new CollectingOutput();
client.evaluate(command, out);
String output = out.asString();
assertEquals(output+"\n should contain: "+expected,true, output.contains(expected));
}
@Before
public void setUp() throws RemoteException, ShellException {