gmock in volatile metadata