'The string representation of an instance of L{NamedConstant} includes
the container the instances belongs to as well as the instance\'s name.'

def test_representation(self):

    name = NamedConstant()
    name._realize(self.container, 'bar', None)
    self.assertEqual('<foo=bar>', repr(name))
