Pass a list of results into a parameterized test

So I have a parameterized test that configures a mock.

I would like to pass an array, structure, list… into the $results() method of the mock, but nothing I try works.

I have not tried passing in a function yet but would that work?