Mock() as a parameter

Hello,

I ran into an usage in tdd books but I could not understand.

factory.buildGame(mock())

we are passing mock(). what does it mean exactly?

Thanks in advance.