Java 类org.assertj.core.api.Assert 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JsonContentAssert.java   
JsonPathValue(CharSequence expression, Object... args) {
    org.springframework.util.Assert.hasText(
            (expression == null ? null : expression.toString()),
            "expression must not be null or empty");
    this.expression = String.format(expression.toString(), args);
    this.jsonPath = JsonPath.compile(this.expression);
}
项目:spring-boot-concourse    文件:JsonContentAssert.java   
JsonPathValue(CharSequence expression, Object... args) {
    org.springframework.util.Assert.hasText(
            (expression == null ? null : expression.toString()),
            "expression must not be null or empty");
    this.expression = String.format(expression.toString(), args);
    this.jsonPath = JsonPath.compile(this.expression);
}