assertEquals(-1, formattedNumber1.compareTo(formattedNumber2));
assertEquals(-1, formattedNumberNull.compareTo(formattedNumber2));
assertEquals(1, formattedNumber1.compareTo(null));
assertEquals(1, number2.compareTo(number1));
assertEquals(1, formattedNumber2.compareTo(formattedNumber1));
// NPE (OK - only limited support for nulls): assertEquals(1, formattedNumber2.compareTo(formattedNumberNull));
assertEquals(-1, formattedNumberNull.compareTo(formattedNumber1));
}
}