PHP Class spec\PhpSpec\Matcher\Iterate\IterablesMatcherSpec

Author: Kamil Kokot ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: phpspec/phpspec

Public Methods

Method Description
it_should_not_throw_any_exception_if_subject_iterates_as_expected ( )
it_should_throw_an_exception_if_subject_element_does_not_match_the_expected_one ( )
it_should_throw_an_exception_if_subject_has_less_elements_than_expected ( )
it_should_throw_an_exception_if_subject_has_more_elements_than_expected ( )
it_should_throw_an_invalid_argument_exception_if_expected_value_is_not_iterable ( )
it_should_throw_an_invalid_argument_exception_if_subject_is_not_iterable ( )
let ( PhpSpec\Formatter\Presenter\Presenter $presenter )

Private Methods

Method Description
createGeneratorReturningArray ( array $array ) : Generator

Method Details

it_should_not_throw_any_exception_if_subject_iterates_as_expected() public method

it_should_throw_an_exception_if_subject_element_does_not_match_the_expected_one() public method

it_should_throw_an_exception_if_subject_has_less_elements_than_expected() public method

it_should_throw_an_exception_if_subject_has_more_elements_than_expected() public method

it_should_throw_an_invalid_argument_exception_if_expected_value_is_not_iterable() public method

it_should_throw_an_invalid_argument_exception_if_subject_is_not_iterable() public method

let() public method

public let ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter