        richtextString: "A very rich text string"
    }
    factory.createUnderlineAnnotation(val)

    expect(CryptoUtil.MD5Hex(factory.write())).toBe("9adc072785be9b6c65981821be513cc7")
})

test('UnderlineAnnotation_color', () => {
    let data = new Uint8Array(loadFromFile("./test_documents/test.pdf"))
    let factory = new AnnotationFactory(data)

    let textAnnotColor = {r:1, g:1, b:0}
