public void ClosestPoint(BoundingRectangle boundingRectangle, Point2 point, Point2 expectedClosestPoint) { var actualClosestPoint = boundingRectangle.ClosestPointTo(point); Assert.AreEqual(expectedClosestPoint, actualClosestPoint); }