@Test
public void prettyPrinted() throws Exception {

    ContentRange range1 = new ContentRange(1, 3, 10);
    assertThat(range1.toString()).isEqualTo("Xing-Content-Range: items 1-3/10");
    ContentRange range2 = new ContentRange(1, 4, -1);
    assertThat(range2.toString()).isEqualTo("Xing-Content-Range: items 1-4/*");
    ContentRange range3 = new ContentRange(-1, -1, 0);
    assertThat(range3.toString()).isEqualTo("Xing-Content-Range: items */0");
}