PHP Class spec\Prophecy\Promise\ThrowPromiseSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: phpspec/prophecy

Public Methods

Method Description
it_instantiates_and_throws_exception_from_provided_classname ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_instantiates_exceptions_with_required_arguments ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_is_promise ( )
it_throws_provided_exception ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
let ( )

Method Details

it_instantiates_and_throws_exception_from_provided_classname() public method

public it_instantiates_and_throws_exception_from_provided_classname ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_instantiates_exceptions_with_required_arguments() public method

public it_instantiates_exceptions_with_required_arguments ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_is_promise() public method

public it_is_promise ( )

it_throws_provided_exception() public method

public it_throws_provided_exception ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

let() public method

public let ( )