public void testNewCookbookInBatch(RestliRequestOptions requestOptions) throws Exception
{
final GreetingsRequestBuilders builders = new GreetingsRequestBuilders(requestOptions);
// GET
final BatchGetEntityRequestBuilder<Long, Greeting> batchGetBuilder = builders.batchGet();
Request<BatchKVResponse<Long, EntityResponse<Greeting>>> request = batchGetBuilder.ids(1L).build();
ResponseFuture<BatchKVResponse<Long, EntityResponse<Greeting>>> future = REST_CLIENT.sendRequest(request);
Response<BatchKVResponse<Long, EntityResponse<Greeting>>> greetingResponse = future.getResponse();
// PUT