Class Matchers

java.lang.Object
kong.unirest.core.Matchers

public class Matchers extends Object
Static set of Matchers
  • Constructor Details

    • Matchers

      public Matchers()
  • Method Details

    • bodyFields

      public BodyMatcher bodyFields(String keyValuePairs)
      Creates a FieldMatcher expecting a map of keys and values use like: FieldMatcher.of("fruit", "orange", "quantity" "42")
      Parameters:
      keyValuePairs - an array of key-value pairs to expect
      Returns:
      a new FieldMatcher