}
public void test_ctor_max_label() throws TextParseException
{
// name with a 63 char label
Name n = new Name("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.b.");
assertTrue(n.isAbsolute());
assertFalse(n.isWild());
assertEquals(3, n.labels());
assertEquals(67, n.length());
assertTrue(Arrays.equals(new byte[] { 63, 'a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a' },
n.getLabel(0)));
assertEquals("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", n.getLabelString(0));
assertTrue(Arrays.equals(new byte[] { 1, 'b' },
n.getLabel(1)));
assertEquals("b", n.getLabelString(1));
assertTrue(Arrays.equals(new byte[] { 0 },
n.getLabel(2)));
assertEquals("", n.getLabelString(2));
}