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

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ObjectContentAssertTests.java   
private AssertProvider<ObjectContentAssert<Object>> forObject(final Object source) {
    return new AssertProvider<ObjectContentAssert<Object>>() {

        @Override
        public ObjectContentAssert<Object> assertThat() {
            return new ObjectContentAssert<Object>(source);
        }

    };
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:JsonContentAssertTests.java   
private AssertProvider<JsonContentAssert> forJson(final String json) {
    return new AssertProvider<JsonContentAssert>() {

        @Override
        public JsonContentAssert assertThat() {
            return new JsonContentAssert(JsonContentAssertTests.class, json);
        }

    };
}
项目:spring-boot-concourse    文件:ObjectContentAssertTests.java   
private AssertProvider<ObjectContentAssert<Object>> forObject(final Object source) {
    return new AssertProvider<ObjectContentAssert<Object>>() {

        @Override
        public ObjectContentAssert<Object> assertThat() {
            return new ObjectContentAssert<Object>(source);
        }

    };
}
项目:spring-boot-concourse    文件:JsonContentAssertTests.java   
private AssertProvider<JsonContentAssert> forJson(final String json) {
    return new AssertProvider<JsonContentAssert>() {

        @Override
        public JsonContentAssert assertThat() {
            return new JsonContentAssert(JsonContentAssertTests.class, json);
        }

    };
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <T> T org.assertj.core.api.Assertions.assertThat(org.assertj.core.api.AssertProvider<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(org.assertj.core.api.AssertProvider)}
 */
default <T> T assertThat(AssertProvider<T> component) {
    return Assertions.assertThat(component);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <T> T org.assertj.core.api.Assertions.assertThat(org.assertj.core.api.AssertProvider<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(org.assertj.core.api.AssertProvider)}
 */
default <T> T assertThat(AssertProvider<T> component) {
    return Assertions.assertThat(component);
}
项目:interface-it    文件:AssertJ.java   
/**
 * Delegate call to public static <T> T org.assertj.core.api.Assertions.assertThat(org.assertj.core.api.AssertProvider<T>)
 * {@link org.assertj.core.api.Assertions#assertThat(org.assertj.core.api.AssertProvider)}
 */
default <T> T assertThat(AssertProvider<T> component) {
    return Assertions.assertThat(component);
}