/**
  * Expects an argument that will be compared using the provided comparator. The following
  * comparison will take place:
  *
  * <p><code>comparator.compare(actual, expected) operator 0</code> For details, see the EasyMock
  * documentation.
  *
  * @param value the given value.
  * @param comparator Comparator used to compare the actual with expected value.
  * @param operator The comparison operator.
  * @return <code>null</code>
  */
 protected final <T> T cmp(T value, Comparator<? super T> comparator, LogicalOperator operator) {
   return EasyMock.cmp(value, comparator, operator);
 }