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

项目:fluent-bdd    文件:WithFluentAssertJ.java   
/**
 * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(Comparable)}
 */
default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> then(T actual) {
    fluentBdd().verification.recordThen(this);
    return DELEGATE.assertThat(actual);
}
项目:fluent-bdd    文件:WithFluentAssertJ.java   
/**
 * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(Comparable)}
 */
default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> and(T actual) {
    fluentBdd().verification.recordThen(this);
    return DELEGATE.assertThat(actual);
}
项目:MPL    文件:CommandAssert.java   
public AbstractComparableAssert<?, Mode> mode() {
  isNotNull();
  return assertThat(actual.getMode()).as(description("mode"));
}
项目:parkandrideAPI    文件:PredictionRequestTest.java   
public static AbstractComparableAssert<?, Duration> assertRelativeTime(String relativeTime) {
    return assertThat(PredictionRequest.parseRelativeTime(relativeTime)).as(relativeTime);
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.AbstractComparableAssert<?, T> org.assertj.core.api.Assertions.assertThat(T)
 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Comparable)}
 */
default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> assertThat(T assertion) {
    return Assertions.assertThat(assertion);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.AbstractComparableAssert<?, T> org.assertj.core.api.Assertions.assertThat(T)
 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Comparable)}
 */
default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> assertThat(T assertion) {
    return Assertions.assertThat(assertion);
}
项目:interface-it    文件:AssertJ.java   
/**
 * Delegate call to public static <T> org.assertj.core.api.AbstractComparableAssert<?, T> org.assertj.core.api.Assertions.assertThat(T)
 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Comparable)}
 */
default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> assertThat(T assertion) {
    return Assertions.assertThat(assertion);
}