new OrderedPatternComparator<BrowserPattern>().compare(pattern, null);
}
@Test
public void compare_same() {
final BrowserPattern pattern = new BrowserPattern(1, Pattern.compile("[0-9]+"), 1);
assertThat(new OrderedPatternComparator<BrowserPattern>().compare(pattern, pattern)).isEqualTo(0);
}