Open Journal Systems
3.3.0
|
Public Member Functions | |
testConstructorValidatesClosure () | |
testExecutesClosure () | |
testMustReturnRequest () | |
![]() | |
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 | getServer () |
static | getServiceBuilder () |
static | setMockBasePath ($path) |
static | setServiceBuilder (ServiceBuilderInterface $builder) |
![]() | |
$mockObserver | |
![]() | |
static | $server |
static | $serviceBuilder |
![]() | |
hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
![]() | |
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().