public class ResponseAwareMatcherComposer extends Object
Constructor and Description |
---|
ResponseAwareMatcherComposer() |
public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> and(ResponseAwareMatcher<T> matcher1, ResponseAwareMatcher<T> matcher2)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> and(ResponseAwareMatcher<T> matcher1, ResponseAwareMatcher<T> matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> and(ResponseAwareMatcher<T> matcher1, org.hamcrest.Matcher matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.
// TODO Add @SafeVarargs when migrating to Java 7+public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> and(ResponseAwareMatcher<T> matcher1, org.hamcrest.Matcher matcher2)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> and(org.hamcrest.Matcher matcher1, ResponseAwareMatcher<T> matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.
// TODO Add @SafeVarargs when migrating to Java 7+public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> or(ResponseAwareMatcher<T> matcher1, ResponseAwareMatcher<T> matcher2)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> or(ResponseAwareMatcher<T> matcher1, ResponseAwareMatcher<T> matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> or(ResponseAwareMatcher<T> matcher1, org.hamcrest.Matcher matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.
// TODO Add @SafeVarargs when migrating to Java 7+public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> or(ResponseAwareMatcher<T> matcher1, org.hamcrest.Matcher matcher2)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeResponseAwareMatcher
.public static <T extends ResponseBody<T> & ResponseOptions<T>> ResponseAwareMatcher<T> or(org.hamcrest.Matcher matcher1, ResponseAwareMatcher<T> matcher2, ResponseAwareMatcher<T>... additionalMatchers)
ResponseAwareMatcher
with another ResponseAwareMatcher
.matcher1
- The first matcher to composematcher2
- The second matcher to composeadditionalMatchers
- The additional matchers to composeResponseAwareMatcher
.
// TODO Add @SafeVarargs when migrating to Java 7+Copyright © 2010–2020. All rights reserved.