ParseValue extends CoreValue implements ParseItem { @Override public String toString() { return "pval(" + name + ":" + super.toString() + ")"; } ParseValue(final String name, final Token definition, final Slice slice, final Encoding encoding); boolean matches(final String name); @Override boolean isValue(); @Override ParseValue asValue(); @Override Token getDefinition(); @Override String toString(); @Override boolean equals(final Object obj); @Override int hashCode(); final String name; final Token definition; }
@Test public void valueToStringTest() { assertThat(value.toString(), is("pval(value:0x01)")); }
@Test public void largerValueToStringTest() { assertThat(largerValue.toString(), is("pval(largerValue:0x00010203...)")); }