public void TestMoveToThread() { var curT = _qObject.Thread; var t = new QThread(); IntPtr p = curT.__Instance; IntPtr p2 = t.__Instance; Assert.AreNotEqual(p, p2); _qObject.MoveToThread(t); var curT2 = _qObject.Thread; Assert.AreEqual(curT2.__Instance, t.__Instance); }