testIdsForBatchRequest(request, new HashSet<Long>(Arrays.asList(1L, 2L, 3L)));
Assert.assertEquals(request.isSafe(), false);
Assert.assertEquals(request.isIdempotent(), false);
@SuppressWarnings({"unchecked","rawtypes"})
BatchRequest<PatchRequest<TestRecord>> expectedRequest = new BatchRequest(new DataMap(), PatchRequest.class);
expectedRequest.getEntities().put("1", new PatchRequest<TestRecord>());
expectedRequest.getEntities().put("2", new PatchRequest<TestRecord>());
expectedRequest.getEntities().put("3", new PatchRequest<TestRecord>());
KeyValueRecordFactory<Long, PatchRequest> factory =
new KeyValueRecordFactory<Long, PatchRequest>(Long.class,
null,
null,