Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • AcceptHeaderItemTest
  • AcceptHeaderTest
  • ApacheRequestTest
  • BinaryFileResponseTest
  • CookieTest
  • ExpressionRequestMatcherTest
  • FileBagTest
  • HeaderBagTest
  • IpUtilsTest
  • JsonResponseTest
  • JsonSerializableObject
  • NewRequest
  • ParameterBagTest
  • RedirectResponseTest
  • RequestContentProxy
  • RequestMatcherTest
  • RequestStackTest
  • RequestTest
  • ResponseHeaderBagTest
  • ResponseTest
  • ResponseTestCase
  • ServerBagTest
  • StreamedResponseTest
  • StringableObject
  • Overview
  • Namespace
  • Class
  • Tree

Class ResponseTest

PHPUnit_Framework_TestCase
Extended by Symfony\Component\HttpFoundation\Tests\ResponseTestCase
Extended by Symfony\Component\HttpFoundation\Tests\ResponseTest
Namespace: Symfony\Component\HttpFoundation\Tests
Located at Tests/ResponseTest.php
Methods summary
public
# testCreate( )
public
# testToString( )
public
# testClone( )
public
# testSendHeaders( )
public
# testSend( )
public
# testGetCharset( )
public
# testIsCacheable( )
public
# testIsCacheableWithErrorCode( )
public
# testIsCacheableWithNoStoreDirective( )
public
# testIsCacheableWithSetTtl( )
public
# testMustRevalidate( )
public
# testSetNotModified( )
public
# testIsSuccessful( )
public
# testIsNotModified( )
public
# testIsNotModifiedNotSafe( )
public
# testIsNotModifiedLastModified( )
public
# testIsNotModifiedEtag( )
public
# testIsNotModifiedLastModifiedAndEtag( )
public
# testIsNotModifiedIfModifiedSinceAndEtagWithoutLastModified( )
public
# testIsValidateable( )
public
# testGetDate( )
public
# testGetMaxAge( )
public
# testSetSharedMaxAge( )
public
# testIsPrivate( )
public
# testExpire( )
public
# testGetTtl( )
public
# testSetClientTtl( )
public
# testGetSetProtocolVersion( )
public
# testGetVary( )
public
# testSetVary( )
public
# testDefaultContentType( )
public
# testContentTypeCharset( )
public
# testPrepareDoesNothingIfContentTypeIsSet( )
public
# testPrepareDoesNothingIfRequestFormatIsNotDefined( )
public
# testPrepareSetContentType( )
public
# testPrepareRemovesContentForHeadRequests( )
public
# testPrepareRemovesContentForInformationalResponse( )
public
# testPrepareRemovesContentLength( )
public
# testPrepareSetsPragmaOnHttp10Only( )
public
# testSetCache( )
public
# testSendContent( )
public
# testSetPublic( )
public
# testSetExpires( )
public
# testSetLastModified( )
public
# testIsInvalid( )
public
# testSetStatusCode( $code, $text, $expectedText )

Dataprovider

getStatusCodeFixtures
public
# getStatusCodeFixtures( )
public
# testIsInformational( )
public
# testIsRedirectRedirection( )
public
# testIsNotFound( )
public
# testIsEmpty( )
public
# testIsForbidden( )
public
# testIsOk( )
public
# testIsServerOrClientError( )
public
# testHasVary( )
public
# testSetEtag( )
public
# testSetContent( $content )

Dataprovider

validContentProvider
public
# testSetContentInvalid( $content )

Dataprovider

invalidContentProvider

Expectedexception

\UnexpectedValueException
public
# testSettersAreChainable( )
public
# validContentProvider( )
public
# invalidContentProvider( )
protected
# createDateTimeOneHourAgo( )
protected
# createDateTimeOneHourLater( )
protected
# createDateTimeNow( )
protected
# provideResponse( )
Methods inherited from Symfony\Component\HttpFoundation\Tests\ResponseTestCase
testNoCacheControlHeaderOnAttachmentUsingHTTPSAndMSIE()
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen