def test_name(self):
        name = NamedConstant()
        name._realize(self.container, "bar", None)
        self.assertEqual("bar", name.name)
Tests '[[]]' syntax replacement.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/NamedConstantTests.test_name--crossover with--dataset/ETHPy150Open google/textfsm/clitable_test.py/UnitTestCliTable.testCompletion