public void ScrollableBaseScrollTo() { tlog.Debug(tag, $"ScrollableBaseScrollTo START"); var testingTarget = new ScrollableBase() { Size = new Size(100, 2), BackgroundColor = Color.Cyan, ScrollingDirection = ScrollableBase.Direction.Horizontal, }; Assert.IsNotNull(testingTarget, "null handle"); Assert.IsInstanceOf <ScrollableBase>(testingTarget, "Should return ScrollableBase instance."); try { testingTarget.ScrollTo(0.3f, true); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"ScrollableBaseScrollTo END (OK)"); }