@Test
public void ltestRangelRangerPlusCostrStar() throws Exception {

    URIElement n1 = new URIElement();
    URIElement n2 = new URIElement();
    URIElement n3 = new URIElement();
    URIElement n4 = new URIElement();
    URIElement n5 = new URIElement();
    URIElement n6 = new URIElement(true);
    URIElement nn;
    int cost;
    n1.add(SKIP, n2);
    n1.add(SKIP, n5);
    for (int i = 0; i < 26; i++) {
        cost = 'a' + i;
        nn = new URIElement();
        n2.add(cost, nn);
        nn.add(SKIP, n3);
    }
    for (int i = 0; i < 26; i++) {
        cost = 'a' + i;
        nn = new URIElement();
        n3.add(cost, nn);
        nn.add(SKIP, n4);
    }
    n4.add(SKIP, n3);
    n4.add('.', n5);
    n5.add(SKIP, n2);
    n5.add(SKIP, n6);
    assertTrue(new URIVerifier(n1).verify(""));
    assertTrue(new URIVerifier(n1).verify("ac."));
    assertTrue(new URIVerifier(n1).verify("acc."));
    assertTrue(new URIVerifier(n1).verify("aaaaaa."));
    assertTrue(new URIVerifier(n1).verify("aaaaaa.aaaaaa."));
    assertTrue(new URIVerifier(n1).verify("aaaaaa.aaaaaa.aaaaaa.aaaaaa.aaaaaa.aaaaaa."));
    assertFalse(new URIVerifier(n1).verify("aaaaaa.aaaaaa"));
    assertFalse(new URIVerifier(n1).verify(String.valueOf('A' - 1)));
}