mock cache and set viewcensors