public void TestDraw2()
        {
            var canvas   = new Mock <ICanvas>();
            var point    = new PointF(0, 0);
            var drawable = new RippleEffectDrawable
            {
                ClipRectangle = RectF.Zero,
                TouchPoint    = new PointF(0, 0)
            };

            var exception = Record.Exception(() =>
            {
                drawable.Draw(canvas.Object, new RectF(0, 0, 10, 10));
            });

            Assert.Null(exception);
        }
        public void TestDraw(float x, float y, float w, float h, float pointX, float pointY)
        {
            var canvas   = new Mock <ICanvas>();
            var rect     = new RectF(x, y, w, h);
            var point    = new PointF(pointX, pointY);
            var drawable = new RippleEffectDrawable
            {
                ClipRectangle = rect,
                TouchPoint    = point
            };

            var exception = Record.Exception(() =>
            {
                drawable.Draw(canvas.Object, new RectF(x, y, w, h));
            });

            Assert.Null(exception);
        }