Open Journal Systems  3.3.0
Guzzle\Tests\Http\EntityBodyTest Class Reference
Inheritance diagram for Guzzle\Tests\Http\EntityBodyTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 testAllowsCustomRewind ()
 
 testCreatesMd5Checksum ()
 
 testCustomRewindFunctionMustBeCallable ()
 
 testDeterminesContentType ()
 
 testFactory ()
 
 testFactoryCanCreateFromObject ()
 
 testFactoryCreatesTempStreamByDefault ()
 
 testFactoryEnsuresObjectsHaveToStringMethod ()
 
 testFactoryThrowsException ()
 
 testGetTypeFormBodyFactoring ()
 
 testHandlesCompression ()
 
 testSeeksToOriginalPosAfterMd5 ()
 
- 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
 

Detailed Description

@group server

See also
Guzzle\Http\EntityBody

Definition at line 12 of file EntityBodyTest.php.

Member Function Documentation

◆ testAllowsCustomRewind()

Guzzle\Tests\Http\EntityBodyTest::testAllowsCustomRewind ( )

Definition at line 161 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testCreatesMd5Checksum()

Guzzle\Tests\Http\EntityBodyTest::testCreatesMd5Checksum ( )

◆ testCustomRewindFunctionMustBeCallable()

Guzzle\Tests\Http\EntityBodyTest::testCustomRewindFunctionMustBeCallable ( )

@expectedException \Guzzle\Common\Exception\InvalidArgumentException

Definition at line 177 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testDeterminesContentType()

Guzzle\Tests\Http\EntityBodyTest::testDeterminesContentType ( )

Definition at line 120 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testFactory()

Guzzle\Tests\Http\EntityBodyTest::testFactory ( )

Definition at line 22 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testFactoryCanCreateFromObject()

Guzzle\Tests\Http\EntityBodyTest::testFactoryCanCreateFromObject ( )

Definition at line 54 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testFactoryCreatesTempStreamByDefault()

Guzzle\Tests\Http\EntityBodyTest::testFactoryCreatesTempStreamByDefault ( )

Definition at line 44 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testFactoryEnsuresObjectsHaveToStringMethod()

Guzzle\Tests\Http\EntityBodyTest::testFactoryEnsuresObjectsHaveToStringMethod ( )

@expectedException \Guzzle\Common\Exception\InvalidArgumentException

Definition at line 63 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testFactoryThrowsException()

Guzzle\Tests\Http\EntityBodyTest::testFactoryThrowsException ( )

@expectedException \Guzzle\Common\Exception\InvalidArgumentException

Definition at line 17 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testGetTypeFormBodyFactoring()

Guzzle\Tests\Http\EntityBodyTest::testGetTypeFormBodyFactoring ( )

Definition at line 155 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testHandlesCompression()

Guzzle\Tests\Http\EntityBodyTest::testHandlesCompression ( )

Definition at line 68 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().

◆ testSeeksToOriginalPosAfterMd5()

Guzzle\Tests\Http\EntityBodyTest::testSeeksToOriginalPosAfterMd5 ( )

Definition at line 146 of file EntityBodyTest.php.

References Guzzle\Http\EntityBody\factory().


The documentation for this class was generated from the following file: