@Test
public void testGetBytes_inputWithExtraChars()
{

    // input > field length
    byte[] actualBytes = field.getBytes("abcdefg");
    assertEquals("abcd", new String(actualBytes));
    // input == field length
    actualBytes = field.getBytes("abcd");
    assertEquals("abcd", new String(actualBytes));
    // input < field length
    actualBytes = field.getBytes("ab");
    assertEquals("ab  ", new String(actualBytes));
}