code: public final @NotNull S isEqualByComparingTo(T expected) {
      isNotNull();
      if (actual.compareTo(expected) == 0) {
        return myself();
      }
      failIfCustomMessageIsSet();
      throw comparisonFailed(rawDescription(), actual, expected);
    }
docs: Verifies that the actual {@link Comparable} is equal to the given one.
  
  @param expected the given {@code Comparable} to compare the actual {@code Comparable} to.
  @return this assertion object.
  @throws AssertionError if the actual {@code Comparable} is {@code null}.
  @throws AssertionError if the actual {@code Comparable} is not equal to the given one.