public class Matchers extends Object
| Constructor and Description |
|---|
Matchers() |
| Modifier and Type | Method and Description |
|---|---|
BodyMatcher |
bodyFields(String keyValuePairs)
Creates a FieldMatcher expecting a map of keys and values
use like: FieldMatcher.of("fruit", "orange", "quantity" "42")
|
public BodyMatcher bodyFields(String keyValuePairs)
keyValuePairs - an array of key-value pairs to expectCopyright © 2021. All rights reserved.