public <T extends Comparable<T>> void assertNotEqual(Description description, T actual, T other) {
    assertNotNull(description, actual);
    if (areEqual(actual, other)) {
      throw failures.failure(description, shouldNotBeEqual(actual, other));
    }
  }
public <T extends Comparable<T>> void assertNotEqual(Description description, T actual, T other) {
    assertNotNull(description, actual);
    if (areEqual(actual, other)) {
      throw failures.failure(description, shouldNotBeEqual(actual, other));
    }
  }
public < T extends Comparable < T > > void assertNotEqual ( Description description , T actual , T other ) { assertNotNull ( description , actual ) ; if ( areEqual ( actual , other ) ) { throw failures . failure ( description , shouldNotBeEqual ( actual , other ) ) ; } }
Asserts that two values are not equal by invoking {@link Comparable#compareTo(Object)}.

@param description the description of the <em>actual</em> value.
@param actual the <em>actual</em> value.
@param other the value to compare the <em>actual</em> value to.
@throws AssertionError if the <em>actual</em> value is {@code null}.
@throws AssertionError if the <em>actual</em> value is equal to the other one.
Asserts that two values are not equal by invoking { @link Comparable#compareTo ( Object ) } .