Exemplo n.º 1
0
 protected <T> boolean areEqual(T actual, T expected) {
   return comparisonStrategy.areEqual(actual, expected);
 }
Exemplo n.º 2
0
 /**
  * Compares actual and other with standard strategy (null safe equals check).
  *
  * @param actual the object to compare to other
  * @param other the object to compare to actual
  * @return true if actual and other are equal (null safe equals check), false otherwise.
  */
 private boolean areEqual(Object actual, Object other) {
   return comparisonStrategy.areEqual(other, actual);
 }
Exemplo n.º 3
0
 private boolean isLessThan(Object actual, Object other) {
   return comparisonStrategy.isLessThan(actual, other);
 }