Assert.assertEquals(args.length, 1);
Assert.assertTrue(args[0] instanceof BatchUpdateRequest);
Map<?, ?> data = ((BatchUpdateRequest)args[0]).getData();
Assert.assertEquals(data.size(), 2);
MyComplexKey entity1 = (MyComplexKey) data.get(keys[0]);
MyComplexKey entity2 = (MyComplexKey) data.get(keys[1]);
Assert.assertEquals(entity1.getA(), "abc");
Assert.assertEquals((long) entity1.getB(), 123L);
Assert.assertEquals(entity2.getA(), "XY");
Assert.assertEquals((long) entity2.getB(), 456L);
EasyMock.verify(request, model, descriptor, context, routingResult);
}