PHP Class spec\PhpSpec\Matcher\ArrayKeyValueMatcherSpec

Inheritance: extends PhpSpec\ObjectBehavior
ファイルを表示 Open project: phpspec/phpspec

Public Methods

Method Description
it_does_not_match_ArrayObject_with_missing_key ( ArrayObject $array )
it_does_not_match_ArrayObject_with_wrong_value_for_specified_offset ( ArrayObject $array )
it_does_not_match_array_with_missing_key ( )
it_does_not_match_array_with_wrong_value_for_specified_key ( )
it_does_not_respond_to_haveKeyWithValue_with_non_array_subject ( )
it_is_a_matcher ( )
it_matches_ArrayObject_with_correct_value_for_specified_offset ( ArrayObject $array )
it_matches_ArrayObject_with_invalid_key_value ( ArrayObject $array )
it_matches_ArrayObject_without_specified_offset ( ArrayObject $array )
it_matches_array_with_correct_value_for_specified_key ( )
it_matches_array_with_invalid_key_value ( )
it_matches_array_without_specified_key ( )
it_responds_to_haveKeyWithValue_with_array_access_subject ( )
it_responds_to_haveKeyWithValue_with_array_subject ( )
let ( PhpSpec\Formatter\Presenter\Presenter $presenter )

Method Details

it_does_not_match_ArrayObject_with_missing_key() public method

public it_does_not_match_ArrayObject_with_missing_key ( ArrayObject $array )
$array ArrayObject

it_does_not_match_ArrayObject_with_wrong_value_for_specified_offset() public method

public it_does_not_match_ArrayObject_with_wrong_value_for_specified_offset ( ArrayObject $array )
$array ArrayObject

it_does_not_match_array_with_missing_key() public method

it_does_not_match_array_with_wrong_value_for_specified_key() public method

it_does_not_respond_to_haveKeyWithValue_with_non_array_subject() public method

it_is_a_matcher() public method

public it_is_a_matcher ( )

it_matches_ArrayObject_with_correct_value_for_specified_offset() public method

public it_matches_ArrayObject_with_correct_value_for_specified_offset ( ArrayObject $array )
$array ArrayObject

it_matches_ArrayObject_with_invalid_key_value() public method

public it_matches_ArrayObject_with_invalid_key_value ( 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_correct_value_for_specified_key() public method

it_matches_array_with_invalid_key_value() public method

it_matches_array_without_specified_key() public method

it_responds_to_haveKeyWithValue_with_array_access_subject() public method

it_responds_to_haveKeyWithValue_with_array_subject() public method

let() public method

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