Given a mocked function, returns all the values the function has returned with.
Parameters
fn: MockedFunction
Mocked function
Returns List
List where each element represents a different time the function returned a value. If the function returns
void or undefined, then no value is appended to the list.
Given a mocked function, returns all the values the function has returned with.