11 changed files with 49 additions and 72 deletions
@ -1,17 +0,0 @@ |
|||||||
package com.jayway.jsonpath.matchers; |
|
||||||
|
|
||||||
import com.jayway.jsonpath.ReadContext; |
|
||||||
import org.hamcrest.Matcher; |
|
||||||
|
|
||||||
import java.io.File; |
|
||||||
|
|
||||||
public class IsJsonFile extends IsJson<File> { |
|
||||||
|
|
||||||
IsJsonFile(Matcher<? super ReadContext> jsonMatcher) { |
|
||||||
super(jsonMatcher); |
|
||||||
} |
|
||||||
|
|
||||||
public static Matcher<File> isJsonFile(final Matcher<? super ReadContext> matcher) { |
|
||||||
return new IsJsonFile(matcher); |
|
||||||
} |
|
||||||
} |
|
@ -1,15 +0,0 @@ |
|||||||
package com.jayway.jsonpath.matchers; |
|
||||||
|
|
||||||
import com.jayway.jsonpath.ReadContext; |
|
||||||
import org.hamcrest.Matcher; |
|
||||||
|
|
||||||
public class IsJsonString extends IsJson<String> { |
|
||||||
|
|
||||||
IsJsonString(Matcher<? super ReadContext> jsonMatcher) { |
|
||||||
super(jsonMatcher); |
|
||||||
} |
|
||||||
|
|
||||||
public static Matcher<String> isJsonString(final Matcher<? super ReadContext> matcher) { |
|
||||||
return new IsJsonString(matcher); |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue