io.restassured.internal.assertion.BodyMatcherGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-assured Show documentation
Show all versions of rest-assured Show documentation
Java DSL for easy testing of REST services
package io.restassured.internal.assertion;
import io.restassured.config.RestAssuredConfig;
import io.restassured.response.Response;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class BodyMatcherGroup {
private final List bodyAssertions = new ArrayList<>();
public void add(BodyMatcherGroup group) {
bodyAssertions.addAll(group.bodyAssertions);
}
public void add(BodyMatcher bodyMatcher) {
bodyAssertions.add(bodyMatcher);
}
public void reset() {
bodyAssertions.clear();
}
public int size() {
return bodyAssertions.size();
}
public List