def testHasNameNegative(self):
     variable1 = VariableBuilder().name('x').build()
     self.assertFalse(variable1.has_name('y'))
 def testHasNamePositive(self):
     variable1 = VariableBuilder().name('x').build()
     self.assertTrue(variable1.has_name('x'))