@Test
void compare() {

    assertEquals(0, instance.compare(null, null));
    assertEquals(1, instance.compare(null, "test"));
    assertEquals(-1, instance.compare("test", null));
    assertEquals(0, instance.compare("test", "test"));
    assertEquals(1, instance.compare("test", "a"));
    assertEquals(-1, instance.compare("a", "test"));
}