芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/lugarcollectibles.com/system/storage/vendor/react/promise/tests/TestCase.php
createCallableMock(); $mock ->expects($this->exactly($amount)) ->method('__invoke'); return $mock; } public function expectCallableOnce() { $mock = $this->createCallableMock(); $mock ->expects($this->once()) ->method('__invoke'); return $mock; } public function expectCallableNever() { $mock = $this->createCallableMock(); $mock ->expects($this->never()) ->method('__invoke'); return $mock; } public function createCallableMock() { return $this ->getMockBuilder('React\\Promise\Stub\CallableStub') ->getMock(); } }