@Test public void testConstructZeroDataLength() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { new RecordStructureCharacterField(name, 1, 0); }); assertThat(e.getMessage()).isEqualTo("Data length must be at least 1: " + Integer.toString(0)); }
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
RecordStructureCharacterField extends RecordStructureField implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }
RecordStructureCharacterField extends RecordStructureField implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } RecordStructureCharacterField(final String name, final int level, final int dataLength);  RecordStructureCharacterField(final String name, final int level, final int dataLength,
            final boolean optional, final String description, final List<CodeSet> codeSets,
            final List<EnumeratedValue> values); }
RecordStructureCharacterField extends RecordStructureField implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } RecordStructureCharacterField(final String name, final int level, final int dataLength);  RecordStructureCharacterField(final String name, final int level, final int dataLength,
            final boolean optional, final String description, final List<CodeSet> codeSets,
            final List<EnumeratedValue> values); @Override boolean equals(final Object obj); @Override int getDataLength(); @Override int hashCode(); @Override String toString(); }
RecordStructureCharacterField extends RecordStructureField implements FixedLengthDataTyped { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } RecordStructureCharacterField(final String name, final int level, final int dataLength);  RecordStructureCharacterField(final String name, final int level, final int dataLength,
            final boolean optional, final String description, final List<CodeSet> codeSets,
            final List<EnumeratedValue> values); @Override boolean equals(final Object obj); @Override int getDataLength(); @Override int hashCode(); @Override String toString();  }