pub fn assert_current_size(expected: usize, cache: &Cache)
Assert that the cache has a given number of records.