@Test
public void shouldEncodeStringAsAscii() throws UnsupportedEncodingException
{

    final String testSequence = "This is a string of characters that should encode into ascii bytes as simple as 123.";
    final byte[] result = new byte[testSequence.length()];
    ByteUtil.asciiEncode(testSequence, 0, result, 0, result.length);
    assertArrayEquals(testSequence.getBytes(StandardCharsets.US_ASCII), result);
}