PHP Class spec\PhpSpec\Matcher\Iterate\IterablesMatcherSpec

Author: Kamil Kokot ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode 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

Méthode Description
createGeneratorReturningArray ( array $array ) : Generator

Method Details

it_should_not_throw_any_exception_if_subject_iterates_as_expected() public méthode

it_should_throw_an_exception_if_subject_element_does_not_match_the_expected_one() public méthode

it_should_throw_an_exception_if_subject_has_less_elements_than_expected() public méthode

it_should_throw_an_exception_if_subject_has_more_elements_than_expected() public méthode

it_should_throw_an_invalid_argument_exception_if_expected_value_is_not_iterable() public méthode

it_should_throw_an_invalid_argument_exception_if_subject_is_not_iterable() public méthode

let() public méthode

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