'L{CachedPlugin} has a helpful C{repr} which contains relevant
information about it.'

def test_cacheRepr(self):

    cachedDropin = plugin.getCache(self.module)[self.originalPlugin]
    cachedPlugin = list((p for p in cachedDropin.plugins if (p.name == 'TestPlugin')))[0]
    self.assertEqual(repr(cachedPlugin), "<CachedPlugin    'TestPlugin'/'mypackage.testplugin'    (provides    'ITestPlugin,    IPlugin')>")
