def METHOD_NAME(self):
    obj = A()
    self.assertEqual(obj.hello, "hello")
    with self.assertRaises(AttributeError):
        obj.world
    obj.world = "world"
    self.assertEqual(obj.world, "world")