protected function expectCallableNever() { $mock = $this->createCallableMock(); $mock->expects($this->never())->method('__invoke'); return $mock; }