Component implements ComponentProvider { @Override public String toString() { return printURI(this.component); } protected  Component(byte[] comp);  Component(String text); @Override byte[] getComponent(); static byte[] parseNative(String name); static byte[] parseURI(String name); static String hexPrint(byte [] bs); static String printNative(byte[] bs); static String printURI(byte [] bs); static String printURI(byte [] bs, int offset, int length); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final ComponentProvider NONCE; static final ComponentProvider EMPTY; }
@Test public void testToString() { Component component = new Component(COMPONENT_NAME); component.toString(); }