@Test public void testConstructZeroDataLength() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { new SimpleCharacterDataTyped(0); }); assertThat(e.getMessage()).isEqualTo("Data length cannot be less than 1: " + Integer.toString(0)); }
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
SimpleCharacterDataTyped extends SimpleDataTyped implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }
SimpleCharacterDataTyped extends SimpleDataTyped implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } SimpleCharacterDataTyped(final int dataLength); }
SimpleCharacterDataTyped extends SimpleDataTyped implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } SimpleCharacterDataTyped(final int dataLength); @Override boolean equals(final Object obj); @Override int getDataLength(); @Override int hashCode(); @Override String toString(); }
SimpleCharacterDataTyped extends SimpleDataTyped implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } SimpleCharacterDataTyped(final int dataLength); @Override boolean equals(final Object obj); @Override int getDataLength(); @Override int hashCode(); @Override String toString();  }