|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| testConstructorValidatesClosure () | |
| testExecutesClosure () | |
| testMustReturnRequest () | |
Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| addMockedRequest (RequestInterface $request) | |
| assertContainsIns ($needle, $haystack, $message=null) | |
| compareHeaders ($filteredHeaders, $actualHeaders) | |
| getMockedRequests () | |
| getMockResponse ($path) | |
| getWildcardObserver (HasDispatcherInterface $hasDispatcher) | |
| setMockResponse (Client $client, $paths) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| static | getServer () |
| static | getServiceBuilder () |
| static | setMockBasePath ($path) |
| static | setServiceBuilder (ServiceBuilderInterface $builder) |
Data Fields inherited from Guzzle\Tests\GuzzleTestCase | |
| $mockObserver | |
Static Public Attributes inherited from Guzzle\Tests\GuzzleTestCase | |
| static | $server |
| static | $serviceBuilder |
Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase | |
| static | $mockBasePath |
Definition at line 12 of file ClosureCommandTest.php.
| Guzzle\Tests\Service\Command\ClosureCommandTest::testConstructorValidatesClosure | ( | ) |
@expectedException InvalidArgumentException @expectedExceptionMessage A closure must be passed in the parameters array
Definition at line 18 of file ClosureCommandTest.php.
| Guzzle\Tests\Service\Command\ClosureCommandTest::testExecutesClosure | ( | ) |
Definition at line 23 of file ClosureCommandTest.php.
References Guzzle\Http\Message\RequestFactory\getInstance(), and Guzzle\Tests\GuzzleTestCase\getServiceBuilder().
| Guzzle\Tests\Service\Command\ClosureCommandTest::testMustReturnRequest | ( | ) |
@expectedException UnexpectedValueException @expectedExceptionMessage Closure command did not return a RequestInterface object
Definition at line 43 of file ClosureCommandTest.php.
References Guzzle\Tests\GuzzleTestCase\getServiceBuilder().