src/main/java/org/fest/assertions/ComparableAssert.java
public final @NotNull S isNotEqualByComparingTo(T expected) {
    isNotNull();
    if (actual.compareTo(expected) != 0) {
      return myself();
    }
    failIfCustomMessageIsSet();
    throw failure(unexpectedEqual(actual, expected));
  }
public final @NotNull S isNotEqualByComparingTo(T expected) {
    isNotNull();
    if (actual.compareTo(expected) != 0) {
      return myself();
    }
    failIfCustomMessageIsSet();
    throw failure(unexpectedEqual(actual, expected));
  }
public final @ NotNull S isNotEqualByComparingTo ( T expected ) { isNotNull ( ) ; if ( actual . compareTo ( expected ) != 0 ) { return myself ( ) ; } failIfCustomMessageIsSet ( ) ; throw failure ( unexpectedEqual ( actual , expected ) ) ; }
Verifies that the actual {@link Comparable} is <b>not</b> equal to the given one.

@param expected the given {@code Comparable} to use to compare to the actual {@code Comparable}.
@return this assertion object.
@throws AssertionError if the actual {@code Comparable} is {@code null}.
@throws AssertionError if the actual {@code Comparable} is equal to the given one.
Verifies that the actual { @link Comparable } is <b > not< / b > equal to the given one .