@Test
public void testInvokeAll() throws Throwable {
IExecutorService service = client.getExecutorService(randomString());
String msg = randomString();
Collection<Callable<String>> collection = new ArrayList<Callable<String>>();
collection.add(new AppendCallable(msg));
collection.add(new AppendCallable(msg));
List<Future<String>> results = service.invokeAll(collection);
for (Future<String> result : results) {
assertEquals(msg + AppendCallable.APPENDAGE, result.get());
}