hamcrest/JavaHamcrest — pull request #42 by markslater (2013-11-24 10:45:59+00:00)
Title: Implement a Comparator matcher

Hamcrest's `OrderingComparison` matchers for instances of `Comparable` are very helpful in providing a natural language way of testing the `compareTo` method. I've implemented the same feature for the `compare` method on instances of `Comparator`, and I've reimplemented `OrderingComparison` in terms of the new matcher.