This highlighting method as input takes a document search query. You could start your test loading PDF example.
[[status]]
Pages with matches: [[hlResponse.pagesWithMatches]]
This method highlights the PDF document using term locations provided in a PDF Highlight File. Run a quick test loading example 1 or example 2.