public void CanMatchImageTransformRequest(string httpMethod, Uri requestUri, TransformType expectedTransformType, Coordinates expectedCoordinates) { var matched = RouteMatcher.TryMatchImageTransformRequest(httpMethod, requestUri, out var transformType, out var coords); Assert.IsTrue(matched, "Request didn't match"); Assert.AreEqual(expectedTransformType, transformType); Assert.AreEqual(expectedTransformType, transformType); }