Do you really need a mock here? Couldn't you use an instance of ImmortalCacheEntry instead?