Non deprecated ways of getting all quick fixes highlight info

I remember digging into this a while ago.

I wanted to basically have an assertion step as follows:

protected fun assertContainsQuickfix(info: HighlightInfo, quickfixName: String) {

      var found = false
      val quickFixes = info.quickFixActionRanges.map {
        it ->
        it.first.action.text
      }

      assertThat(quickFixes, hasItem(quickfixName))
    }

I get a warning suggesting that info.quickFixActionRanges is deprecated, but I was unclear about how to rewrite it.