(final Resource resource)
| 218 | } |
| 219 | |
| 220 | public static RequestMatcher match(final Resource resource) { |
| 221 | return ApiUtils.match(extractor(resource.id()), checkNotNull(resource, "Resource should not be null")); |
| 222 | } |
| 223 | |
| 224 | public static <T> RequestMatcher match(final RequestExtractor<T> extractor, final String expected) { |
| 225 | return ApiUtils.match(checkNotNull(extractor, "Extractor should not be null"), text(checkNotNullOrEmpty(expected, "Expected content should not be null"))); |
no test coverage detected