You should be able to use $this->getMockBuilder() just like in the createParticipantMock() method above this one.