assertEquals(response.size(), 1);
assertEquals(response.get(0).getProcess(), proc.getProcess());
assertEquals(response.get(0).getCommand(), proc.getCommand());
} finally {
if (proc != null) {
connection.execute(new Stop(app.getName(), proc), apiKey);
}
}
}