@Test
public void canCompareInstances() throws Exception {
final Pull pull = Mockito.mock(Pull.class);
Mockito.doReturn(repo()).when(pull).repo();
final RtPullComment less =
new RtPullComment(new FakeRequest(), pull, 1);
final RtPullComment greater =
new RtPullComment(new FakeRequest(), pull, 2);
MatcherAssert.assertThat(
less.compareTo(greater), Matchers.lessThan(0)
);
MatcherAssert.assertThat(
greater.compareTo(less), Matchers.greaterThan(0)