private HttpCommand createCommand() throws SecurityException, NoSuchMethodException { Method method = IntegrationTestAsyncClient.class.getMethod("download", String.class); return new TransformingHttpCommandImpl<String>( executorService, processor.createRequest(method, "1"), new ReturnStringIf2xx()); }