setHandler = new SetAttributesRequestHandler(Collections.singletonMap("count", getAttributeValue(3)), false);
invokeRequest(mgrs[3], setHandler, id);
assertEquals(getAttributeValue(2), setHandler.getCheckedAttributes().get("count"));
// Invalidate on the failover request
InvalidateSessionRequestHandler invalidationHandler = new InvalidateSessionRequestHandler(Collections.singleton("count"), false);
invokeRequest(mgrs[0], invalidationHandler, id);
assertEquals(getAttributeValue(3), invalidationHandler.getCheckedAttributes().get("count"));
setHandler = new SetAttributesRequestHandler(Collections.singletonMap("count", getAttributeValue(0)), false);
invokeRequest(mgrs[0], invalidationHandler, id);
assertNull(setHandler.getCheckedAttributes().get("count"));
}