Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • AppendStreamTest
  • BadStream
  • BufferStreamTest
  • CachingStreamTest
  • DroppingStreamTest
  • ExtendedUriTest
  • FnStreamTest
  • FunctionsTest
  • HasToString
  • InflateStreamtest
  • LazyOpenStreamTest
  • LimitStreamTest
  • NoSeekStreamTest
  • PumpStreamTest
  • RequestTest
  • ResponseTest
  • ServerRequestTest
  • Str
  • StreamDecoratorTraitTest
  • StreamTest
  • StreamWrapperTest
  • UploadedFileTest
  • UriNormalizerTest
  • UriResolverTest
  • UriTest
  • Overview
  • Namespace
  • Class
  • Download

Class AppendStreamTest

PHPUnit_Framework_TestCase
Extended by GuzzleHttp\Tests\Psr7\AppendStreamTest
Namespace: GuzzleHttp\Tests\Psr7
Located at tests/AppendStreamTest.php
Methods summary
public
# testValidatesStreamsAreReadable( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

Each stream must be readable
public
# testValidatesSeekType( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

The AppendStream can only seek with SEEK_SET
public
# testTriesToRewindOnSeek( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

Unable to seek stream 0 of the AppendStream
public
# testSeeksToPositionByReading( )
public
# testDetachesEachStream( )
public
# testClosesEachStream( )
public
# testIsNotWritable( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

Cannot write to an AppendStream
public
# testDoesNotNeedStreams( )
public
# testCanReadFromMultipleStreams( )
public
# testCanDetermineSizeFromMultipleStreams( )
public
# testCatchesExceptionsWhenCastingToString( )
public
# testCanDetach( )
public
# testReturnsEmptyMetadata( )
MercadoLibre PHP SDK API documentation generated by ApiGen