pub fn assert_expires(expected: usize, cache: &mut Cache)
Expire stale records and assert the count expired.