diff options
Diffstat (limited to 'assets/php/vendor/react/promise/tests/TestCase.php')
-rwxr-xr-x | assets/php/vendor/react/promise/tests/TestCase.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/assets/php/vendor/react/promise/tests/TestCase.php b/assets/php/vendor/react/promise/tests/TestCase.php deleted file mode 100755 index c9274f4..0000000 --- a/assets/php/vendor/react/promise/tests/TestCase.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php - -namespace React\Promise; - -class TestCase extends \PHPUnit_Framework_TestCase -{ - public function expectCallableExactly($amount) - { - $mock = $this->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(); - } -} |