@Test
public void testToString() {

    SplitIndex index = SplitIndex.valueOf(14, true);
    String str = index.toString();
    assertTrue("Class name missing", str.contains(Splitter.class.getName()));
    assertTrue("index missing", str.contains("14"));
    assertTrue("last flag missing", str.contains("true"));
}