'Assert that the XBlockCache object values match.'

def assert_xblock_cache_data(self, xblock_cache, data):

    self.assertEqual(xblock_cache.usage_key, data['usage_key'])
    self.assertEqual(xblock_cache.course_key, data['usage_key'].course_key)
    self.assertEqual(xblock_cache.display_name, data['display_name'])
    self.assertEqual(xblock_cache._paths, data['_paths'])
    self.assertEqual(xblock_cache.paths, [parse_path_data(path) for path in data['_paths']])
