'C{ReprableComponentized} has a C{__repr__} that lists its cache.'

def test_reprableComponentized(self):

    rc = components.ReprableComponentized()
    rc.setComponent(ITest, 'hello')
    result = repr(rc)
    self.assertIn('ITest', result)
    self.assertIn('hello', result)
