Open Journal Systems
3.3.0
|
Additional Inherited Members | |
![]() | |
static | getServer () |
static | getServiceBuilder () |
static | setMockBasePath ($path) |
static | setServiceBuilder (ServiceBuilderInterface $builder) |
![]() | |
$mockObserver | |
![]() | |
static | $server |
static | $serviceBuilder |
![]() | |
getClient () | |
![]() | |
hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
![]() | |
static | $mockBasePath |
Definition at line 20 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testAddsCurlOptionsToRequestsWhenPreparing | ( | ) |
Definition at line 306 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testAllowsValidatorToBeInjected | ( | ) |
Definition at line 335 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testCanAccessValidationErrorsFromCommand | ( | ) |
Definition at line 419 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testCanChangeResponseBody | ( | ) |
Definition at line 436 of file CommandTest.php.
References Guzzle\Http\EntityBody\factory(), and Guzzle\Service\Command\AbstractCommand\RESPONSE_BODY.
Guzzle\Tests\Service\Command\CommandTest::testCanDisableValidation | ( | ) |
Definition at line 343 of file CommandTest.php.
References Guzzle\Service\Command\AbstractCommand\DISABLE_VALIDATION.
Guzzle\Tests\Service\Command\CommandTest::testCanInitConfig | ( | ) |
Definition at line 288 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testCanSetResultManually | ( | ) |
Definition at line 276 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testCloneMakesNewRequest | ( | ) |
Definition at line 232 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testCommandsAllowsCustomRequestHeaders | ( | ) |
Definition at line 190 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testCommandsAllowsCustomRequestHeadersAsArray | ( | ) |
Definition at line 201 of file CommandTest.php.
References Guzzle\Service\Command\AbstractCommand\HEADERS_OPTION.
Guzzle\Tests\Service\Command\CommandTest::testCommandsUsesOperation | ( | ) |
Definition at line 222 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testConstructorAddsDefaultParams | ( | ) |
Definition at line 22 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testConvertsInvalidJsonResponsesToArray | ( | ) |
@expectedException \Guzzle\Common\Exception\RuntimeException
Definition at line 135 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testConvertsJsonResponsesToArray | ( | ) |
Definition at line 115 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testCreatesDefaultOperation | ( | ) |
Definition at line 329 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testDeterminesShortName | ( | ) |
Definition at line 30 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testExecute | ( | ) |
Definition at line 93 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testExecuteThrowsExceptionWhenNoClientIsSet | ( | ) |
@expectedException RuntimeException
Definition at line 175 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testGetRequestThrowsExceptionBeforePreparation | ( | ) |
@expectedException RuntimeException
Definition at line 46 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testGetResponseExecutesCommandsWhenNeeded | ( | ) |
Definition at line 52 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testGetResultExecutesCommandsWhenNeeded | ( | ) |
Definition at line 63 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testHasOnCompleteMethod | ( | ) |
Definition at line 245 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testIsInvokable | ( | ) |
Definition at line 318 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testOnCompleteMustBeCallable | ( | ) |
@expectedException \Guzzle\Common\Exception\InvalidArgumentException
Definition at line 269 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testPrepareThrowsExceptionWhenNoClientIsSet | ( | ) |
@expectedException RuntimeException
Definition at line 184 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testProcessResponseIsNotXml | ( | ) |
Definition at line 157 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient(), and Guzzle\Tests\GuzzleTestCase\setMockResponse().
Guzzle\Tests\Service\Command\CommandTest::testSetClient | ( | ) |
Definition at line 74 of file CommandTest.php.
References Guzzle\Tests\Service\Command\AbstractCommandTest\getClient().
Guzzle\Tests\Service\Command\CommandTest::testValidatesAdditionalParameters | ( | ) |
@expectedException \Guzzle\Service\Exception\ValidationException @expectedExceptionMessage Validation errors: [abc] must be of type string
Definition at line 395 of file CommandTest.php.
References Guzzle\Service\Description\ServiceDescription\factory().
Guzzle\Tests\Service\Command\CommandTest::testValidatesCommandBeforeSending | ( | ) |
@expectedException \Guzzle\Service\Exception\ValidationException @expectedExceptionMessage [Foo] Baz
Definition at line 378 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testValidatorDoesNotUpdateNonDefaultValues | ( | ) |
Definition at line 356 of file CommandTest.php.
Guzzle\Tests\Service\Command\CommandTest::testValidatorUpdatesDefaultValues | ( | ) |
Definition at line 365 of file CommandTest.php.