| 210 | } |
| 211 | |
| 212 | public static <T> RequestMatcher eq(final RequestExtractor<T> extractor, final String expected) { |
| 213 | return eq(checkNotNull(extractor, "Extractor should not be null"), text(checkNotNull(expected, "Expected content should not be null"))); |
| 214 | } |
| 215 | |
| 216 | public static <T> RequestMatcher eq(final RequestExtractor<T> extractor, final Resource expected) { |
| 217 | return new EqRequestMatcher<>(checkNotNull(extractor, "Extractor should not be null"), checkNotNull(expected, "Expected content should not be null")); |