/**
* Returns a matcher that checks if a {@code JsonElement} is a valid JSON
* object containing an element.
*
* @return the matcher that checks if a {@code JsonElement} is a valid JSON
* object containing an element
*/
public static Matcher<JsonElement> aJsonObjectWhere(
String key, Matcher<? extends JsonElement> matcher) {
Conditions.Builder builder = new Conditions.Builder();
Conditions conditions = builder.where(
key, matcher
).build();
return aJsonObjectWith(conditions);
}
JsonMatchers.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:com-liferay-apio-architect
作者:
评论列表
文章目录