### Question:
StringField extends AbstractField<String> { @Override public byte[] getBytes() { return value; } StringField(int tagNum, String value);  StringField(int tagNum, byte[] value);  StringField(int tagNum, byte[] source, int offset, int length); @Override String getValue(); @Override byte[] getBytes(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testGetBytes() { byte[] bytes = field.getBytes(); assertArrayEquals(value.getBytes(US_ASCII), bytes); }