Class RouteMatchers


  • public class RouteMatchers
    extends Object
    A matcher that will compare the method and URI.
    • Constructor Detail

      • RouteMatchers

        public RouteMatchers()
    • Method Detail

      • hasUriAndMethod

        public static org.hamcrest.Matcher<com.spotify.apollo.route.Route> hasUriAndMethod​(String method,
                                                                                           String uri)
        Build a matcher.
        Parameters:
        method - The method to match
        uri - The uri to match
        Returns:
        A matcher
      • hasUri

        public static org.hamcrest.Matcher<com.spotify.apollo.route.Route> hasUri​(String uri)
      • hasMethod

        public static org.hamcrest.Matcher<com.spotify.apollo.route.Route> hasMethod​(String method)