public void LongPressGestureDetectorAssign() { tlog.Debug(tag, $"LongPressGestureDetectorAssign START"); using (LongPressGestureDetector detector = new LongPressGestureDetector()) { var testingTarget = detector.Assign(detector); Assert.IsInstanceOf <LongPressGestureDetector>(testingTarget, "Should be an instance of LongPressGestureDetector type."); testingTarget.Dispose(); } tlog.Debug(tag, $"LongPressGestureDetectorAssign END (OK)"); }