*
* @throws Exception when a problem occurs.
*/
@Test
public void canCompareInstances() throws Exception {
final RtEvent less = new RtEvent(new FakeRequest(), this.repo(), 1);
final RtEvent greater = new RtEvent(new FakeRequest(), this.repo(), 2);
MatcherAssert.assertThat(
less.compareTo(greater), Matchers.lessThan(0)
);
MatcherAssert.assertThat(
greater.compareTo(less), Matchers.greaterThan(0)