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 StreamTest

PHPUnit_Framework_TestCase
Extended by GuzzleHttp\Tests\Psr7\StreamTest
Namespace: GuzzleHttp\Tests\Psr7
Covers: GuzzleHttp\Psr7\Stream
Located at tests/StreamTest.php
Methods summary
public
# testConstructorThrowsExceptionOnInvalidArgument( )

Expectedexception

\InvalidArgumentException
public
# testConstructorInitializesProperties( )
public
# testStreamClosesHandleOnDestruct( )
public
# testConvertsToString( )
public
# testGetsContents( )
public
# testChecksEof( )
public
# testGetSize( )
public
# testEnsuresSizeIsConsistent( )
public
# testProvidesStreamPosition( )
public
# testCanDetachStream( )
public
# testCloseClearProperties( )
public
# testDoesNotThrowInToString( )
public
# testStreamReadingWithZeroLength( )
public
# testStreamReadingWithNegativeLength( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

Length parameter cannot be negative
public
# testStreamReadingFreadError( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

Unable to read from stream
Properties summary
public static boolean $isFReadError
# false
MercadoLibre PHP SDK API documentation generated by ApiGen