Hello,
No, there's no problem to test phpdocx using phpunit (with Laravel, Symfony or any other framework or CMS). You just need to load the library in your test environment and use it.
Although it's not a common question, we move it to the dev team to consider writing an article on the cookbook.
Regards.