@Test
public void simplePageRange() {

    PageRange pr = PageParser.parse("10-20");
    assertEquals("10-20", pr.getLiteral());
    assertEquals("10", pr.getPageFirst());
    assertEquals(Integer.valueOf(11), pr.getNumberOfPages());
    assertTrue(pr.isMultiplePages());
    pr = PageParser.parse("10 - 20");
    assertEquals("10-20", pr.getLiteral());
    assertEquals("10", pr.getPageFirst());
    assertEquals(Integer.valueOf(11), pr.getNumberOfPages());
    assertTrue(pr.isMultiplePages());
    pr = PageParser.parse("10--20");
    assertEquals("10-20", pr.getLiteral());
    assertEquals("10", pr.getPageFirst());
    assertEquals(Integer.valueOf(11), pr.getNumberOfPages());
    assertTrue(pr.isMultiplePages());
    pr = PageParser.parse("10---20");
    assertEquals("10-20", pr.getLiteral());
    assertEquals("10", pr.getPageFirst());
    assertEquals(Integer.valueOf(11), pr.getNumberOfPages());
    assertTrue(pr.isMultiplePages());
    pr = PageParser.parse("10\u201320");
    assertEquals("10-20", pr.getLiteral());
    assertEquals("10", pr.getPageFirst());
    assertEquals(Integer.valueOf(11), pr.getNumberOfPages());
    assertTrue(pr.isMultiplePages());
}