Open Journal Systems  3.3.0
Guzzle\Tests\Batch\BatchClosureTransferTest Class Reference
Inheritance diagram for Guzzle\Tests\Batch\BatchClosureTransferTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 testEnsuresCallableIsCallable ()
 
 testTransferBailsOnEmptyBatch ()
 
 testTransfersBatch ()
 
- 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)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber)
 

Protected Attributes

 $itemsTransferred
 
 $transferStrategy
 

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
 
- Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $mockBasePath
 

Detailed Description

See also
Guzzle\Batch\BatchClosureTransfer

Definition at line 10 of file BatchClosureTransferTest.php.

Member Function Documentation

◆ setUp()

Guzzle\Tests\Batch\BatchClosureTransferTest::setUp ( )
protected

◆ testEnsuresCallableIsCallable()

Guzzle\Tests\Batch\BatchClosureTransferTest::testEnsuresCallableIsCallable ( )

@expectedException Guzzle\Common\Exception\InvalidArgumentException

Definition at line 54 of file BatchClosureTransferTest.php.

◆ testTransferBailsOnEmptyBatch()

Guzzle\Tests\Batch\BatchClosureTransferTest::testTransferBailsOnEmptyBatch ( )

Definition at line 43 of file BatchClosureTransferTest.php.

◆ testTransfersBatch()

Guzzle\Tests\Batch\BatchClosureTransferTest::testTransfersBatch ( )

Definition at line 35 of file BatchClosureTransferTest.php.

Field Documentation

◆ $itemsTransferred

array null Guzzle\Tests\Batch\BatchClosureTransferTest::$itemsTransferred
protected

An array for keeping track of items passed into the transfer closure

Definition at line 22 of file BatchClosureTransferTest.php.

Referenced by Guzzle\Tests\Batch\BatchClosureTransferTest\setUp().

◆ $transferStrategy

Guzzle Batch BatchClosureTransfer Guzzle\Tests\Batch\BatchClosureTransferTest::$transferStrategy
protected

The transfer fixture

Definition at line 16 of file BatchClosureTransferTest.php.


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