PHP Класс spec\PhpSpec\Matcher\Iterate\IterablesMatcherSpec

Автор: Kamil Kokot ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Приватные методы

Метод Описание
createGeneratorReturningArray ( array $array ) : Generator

Описание методов

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() публичный Метод

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