PHP Class spec\PhpSpec\Matcher\ArrayKeyMatcherSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/phpspec

Public Methods

Method Description
it_does_not_match_ArrayObject_without_provided_offset ( ArrayObject $array )
it_does_not_match_array_without_specified_key ( )
it_is_a_matcher ( )
it_matches_ArrayObject_with_provided_offset ( ArrayObject $array )
it_matches_ArrayObject_without_specified_offset ( ArrayObject $array )
it_matches_array_with_specified_key ( )
it_matches_array_with_specified_key_even_if_there_is_no_value ( )
it_matches_array_without_specified_key ( )
it_responds_to_haveKey ( )
let ( PhpSpec\Formatter\Presenter\Presenter $presenter )

Method Details

it_does_not_match_ArrayObject_without_provided_offset() public method

public it_does_not_match_ArrayObject_without_provided_offset ( ArrayObject $array )
$array ArrayObject

it_does_not_match_array_without_specified_key() public method

it_is_a_matcher() public method

public it_is_a_matcher ( )

it_matches_ArrayObject_with_provided_offset() public method

public it_matches_ArrayObject_with_provided_offset ( ArrayObject $array )
$array ArrayObject

it_matches_ArrayObject_without_specified_offset() public method

public it_matches_ArrayObject_without_specified_offset ( ArrayObject $array )
$array ArrayObject

it_matches_array_with_specified_key() public method

it_matches_array_with_specified_key_even_if_there_is_no_value() public method

it_matches_array_without_specified_key() public method

it_responds_to_haveKey() public method

let() public method

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