@Test
    void testCreatesFieldTypeAsciiAndCallsWriteData() {
        final FieldTypeAscii fieldTypeAscii = new FieldTypeAscii(0, "1");
        final byte[] byteArray = new byte[1];
        final ByteOrder byteOrder = ByteOrder.BIG_ENDIAN;
        final TiffField tiffField = new TiffField(0, 0, fieldTypeAscii, 0L, 0, byteArray, byteOrder, 1);

        assertThrows(ImagingException.class, () -> fieldTypeAscii.writeData(tiffField, byteOrder));
    }
Tests for class {@link FieldTypeAscii}.

@see FieldTypeAscii
src/test/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeAsciiTest.java