Open Journal Systems  3.3.0
Guzzle\Tests\Service\Description\SchemaFormatterTest Class Reference
Inheritance diagram for Guzzle\Tests\Service\Description\SchemaFormatterTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 dateTimeProvider ()
 
 testEnsuresTimestampsAreIntegers ()
 
 testFilters ($value, $format, $result)
 
 testValidatesDateTimeInput ()
 
- 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

See also
Guzzle\Service\Description\SchemaFormatter

Definition at line 10 of file SchemaFormatterTest.php.

Member Function Documentation

◆ dateTimeProvider()

Guzzle\Tests\Service\Description\SchemaFormatterTest::dateTimeProvider ( )

Definition at line 12 of file SchemaFormatterTest.php.

◆ testEnsuresTimestampsAreIntegers()

Guzzle\Tests\Service\Description\SchemaFormatterTest::testEnsuresTimestampsAreIntegers ( )

◆ testFilters()

Guzzle\Tests\Service\Description\SchemaFormatterTest::testFilters (   $value,
  $format,
  $result 
)

@dataProvider dateTimeProvider

Definition at line 41 of file SchemaFormatterTest.php.

References Guzzle\Service\Description\SchemaFormatter\format().

◆ testValidatesDateTimeInput()

Guzzle\Tests\Service\Description\SchemaFormatterTest::testValidatesDateTimeInput ( )

@expectedException \Guzzle\Common\Exception\InvalidArgumentException

Definition at line 49 of file SchemaFormatterTest.php.

References Guzzle\Service\Description\SchemaFormatter\format().


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