def METHOD_NAME(self):
    dll = CDLL(_ctypes_test.__file__)
    func = dll._testfunc_p_p
    i = c_int(87654)
    func.restype = POINTER(c_int)
    func.argtypes = (POINTER(c_int),)
    res = func(pointer(i))
    self.assertEqual(res[0], 87654)
    self.assertEqual(res.contents.value, 87654)
    # C code: *res = 54345
    res[0] = 54345
    self.assertEqual(i.value, 54345)
    # C code:
    #   int x = 12321;
    #   res = &x
    x = c_int(12321)
    res.contents = x
    self.assertEqual(i.value, 54345)
    x.value = -99
    self.assertEqual(res.contents.value, -99)