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