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

  • AggregateExceptionTest
  • CoroutineTest
  • EachPromiseTest
  • FunctionsTest
  • NotPromiseInstance
  • PromiseTest
  • RejectedPromiseTest
  • RejectionExceptionTest
  • Thennable
  • Thing1
  • Thing2
  • Overview
  • Namespace
  • Class
  • Download

Class RejectedPromiseTest

PHPUnit_Framework_TestCase
Extended by GuzzleHttp\Promise\Tests\RejectedPromiseTest
Namespace: GuzzleHttp\Promise\Tests
Covers: GuzzleHttp\Promise\RejectedPromise
Located at tests/RejectedPromiseTest.php
Methods summary
public
# testThrowsReasonWhenWaitedUpon( )
public
# testCannotCancel( )
public
# testCannotResolve( )

Exepctedexceptionmessage

Cannot resolve a rejected promise

Expectedexception

\LogicException
public
# testCannotReject( )

Exepctedexceptionmessage

Cannot reject a rejected promise

Expectedexception

\LogicException
public
# testCanRejectWithSameValue( )
public
# testThrowsSpecificException( )
public
# testCannotResolveWithPromise( )

Expectedexception

\InvalidArgumentException
public
# testReturnsSelfWhenNoOnReject( )
public
# testInvokesOnRejectedAsynchronously( )
public
# testReturnsNewRejectedWhenOnRejectedFails( )
public
# testWaitingIsNoOp( )
public
# testOtherwiseIsSugarForRejections( )
public
# testCanResolveThenWithSuccess( )
public
# testDoesNotTryToRejectTwiceDuringTrampoline( )
MercadoLibre PHP SDK API documentation generated by ApiGen