expect(client.getHttpConnectionManager()).andReturn(
new MultiThreadedHttpConnectionManager()).anyTimes();
replay(client);
command = new CheckUrlsCommand(null, client);
command.process(context);
assertEquals(14, context.getResults().size());
assertNull(CollectionUtils.find(context.getResults(),
new Predicate() {
public boolean evaluate(final Object object) {
final Result r = (Result) object;