@Test
public void testConvertCodePointsToSortedIntArrayNoDuplicates() throws Exception {

    int[] expected = {1, 2, 3};
    int[] actual;
    assertArrayEquals(expected, Helper.convertCodePointsToSortedIntArrayNoDuplicates(null, "1-3"));
    assertArrayEquals(expected, Helper.convertCodePointsToSortedIntArrayNoDuplicates("1-3", "4-9"));
    expected = new int[]{1, 2, 3, 4, 5};
    assertArrayEquals(expected, Helper.convertCodePointsToSortedIntArrayNoDuplicates("1-3, 3-5", "4-9"));
    assertArrayEquals(expected, Helper.convertCodePointsToSortedIntArrayNoDuplicates(", 1-3, 3-5, 3", "4-9"));
}