'The C{name} attribute of a L{NamedConstant} refers to the value passed
for the C{name} parameter to C{_realize}.'

def test_name(self):

    name = NamedConstant()
    name._realize(self.container, 'bar', None)
    self.assertEqual('bar', name.name)
