@Test
public void shouldWriteLongAsAscii()
{

    final byte[] longAsAsciiBytes = new byte[19];
    final int offset = 0;
    ByteUtil.writeLongAsAscii(longAsAsciiBytes, offset, 0L);
    assertArrayEquals("0000000000000000000".getBytes(StandardCharsets.US_ASCII), longAsAsciiBytes);
    ByteUtil.writeLongAsAscii(longAsAsciiBytes, offset, 7L);
    assertArrayEquals("0000000000000000007".getBytes(StandardCharsets.US_ASCII), longAsAsciiBytes);
    ByteUtil.writeLongAsAscii(longAsAsciiBytes, offset, 900000000000000000L);
    assertArrayEquals("0900000000000000000".getBytes(StandardCharsets.US_ASCII), longAsAsciiBytes);
    ByteUtil.writeLongAsAscii(longAsAsciiBytes, offset, 99999999999999999L);
    assertArrayEquals("0099999999999999999".getBytes(StandardCharsets.US_ASCII), longAsAsciiBytes);
    ByteUtil.writeLongAsAscii(longAsAsciiBytes, offset, 899999999999999999L);
    assertArrayEquals("0899999999999999999".getBytes(StandardCharsets.US_ASCII), longAsAsciiBytes);
}