'Test that we raise ResourceClassNotFound if an unknown resource
class ID or string is searched for.'

def test_rc_cache_miss(self):

    cache = rc_cache.ResourceClassCache(self.context)
    self.assertRaises(exception.ResourceClassNotFound, cache.string_from_id, 99999999)
    self.assertRaises(exception.ResourceClassNotFound, cache.id_from_string, 'UNKNOWN')
