@Test
public void testSerializeFloatRoundDown() throws IOException {

  JsonGenerator generator = mock(JsonGenerator.class);
  RoundingFloatSerializer serializer = new RoundingFloatSerializer();
  serializer.serialize(0.444f, generator, null);
  verify(generator, times(1)).writeNumber(eq(0.44f));
}