|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| testAddsMockResponseToRequestFromClient () | |
| testAddsResponseFilesToQueue () | |
| testAddsResponseObjectsToQueue () | |
| testCanBeTemporary () | |
| testCanClearQueue () | |
| testCanInspectQueue () | |
| testCanMockBadRequestExceptions () | |
| testDescribesEvents () | |
| testDescribesSubscribedEvents () | |
| testDetachesTemporaryWhenEmpty () | |
| testInvalidResponsesThrowAnException () | |
| testIsCountable () | |
| testLoadsResponsesFromConstructor () | |
| testReadsBodiesFromMockedRequests () | |
| testRetrievesResponsesFromFiles () | |
| testStoresMockedRequests () | |
| testThrowsExceptionWhenResponseFileIsNotFound () | |
| testUpdateThrowsExceptionWhenEmpty () | |
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 15 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testAddsMockResponseToRequestFromClient | ( | ) |
@depends testAddsResponseFilesToQueue
Definition at line 105 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getMockFile().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testAddsResponseFilesToQueue | ( | ) |
Definition at line 95 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testAddsResponseObjectsToQueue | ( | ) |
Definition at line 87 of file MockPluginTest.php.
References Guzzle\Http\Message\Response\fromMessage().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testCanBeTemporary | ( | ) |
Definition at line 27 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testCanClearQueue | ( | ) |
@depends testIsCountable
Definition at line 45 of file MockPluginTest.php.
References Guzzle\Http\Message\Response\fromMessage().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testCanInspectQueue | ( | ) |
Definition at line 53 of file MockPluginTest.php.
References Guzzle\Http\Message\Response\fromMessage().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testCanMockBadRequestExceptions | ( | ) |
Definition at line 183 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testDescribesEvents | ( | ) |
Definition at line 22 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getAllEvents().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testDescribesSubscribedEvents | ( | ) |
Definition at line 17 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getSubscribedEvents().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testDetachesTemporaryWhenEmpty | ( | ) |
@depends testAddsMockResponseToRequestFromClient
Definition at line 133 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getMockFile(), and Guzzle\Tests\GuzzleTestCase\hasSubscriber().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testInvalidResponsesThrowAnException | ( | ) |
@expectedException InvalidArgumentException
Definition at line 81 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testIsCountable | ( | ) |
Definition at line 35 of file MockPluginTest.php.
References Guzzle\Http\Message\Response\fromMessage().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testLoadsResponsesFromConstructor | ( | ) |
Definition at line 145 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testReadsBodiesFromMockedRequests | ( | ) |
Definition at line 169 of file MockPluginTest.php.
References Guzzle\Http\EntityBody\factory().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testRetrievesResponsesFromFiles | ( | ) |
Definition at line 63 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getMockFile().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testStoresMockedRequests | ( | ) |
Definition at line 151 of file MockPluginTest.php.
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testThrowsExceptionWhenResponseFileIsNotFound | ( | ) |
@expectedException InvalidArgumentException
Definition at line 73 of file MockPluginTest.php.
References Guzzle\Plugin\Mock\MockPlugin\getMockFile().
| Guzzle\Tests\Plugin\Mock\MockPluginTest::testUpdateThrowsExceptionWhenEmpty | ( | ) |
@depends testAddsResponseFilesToQueue @expectedException \OutOfBoundsException
Definition at line 124 of file MockPluginTest.php.