PHP Class Coduo\PHPMatcher\Tests\Matcher\ArrayMatcherTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: coduo/php-matcher

Public Methods

Method Description
negativeMatchData ( )
positiveMatchData ( )
setUp ( )
test_error_message_when_matching_non_array_value ( )
test_error_when_matching_fail ( )
test_error_when_path_in_nested_pattern_does_not_exist ( )
test_error_when_path_in_nested_value_does_not_exist ( )
test_error_when_path_in_pattern_does_not_exist ( )
test_error_when_path_in_value_does_not_exist ( )
test_matching_array_to_array_pattern ( )
test_negative_match_arrays ( $value, $pattern )
test_negative_match_when_cant_find_matcher_that_can_match_array_element ( )
test_positive_match_arrays ( $value, $pattern )

Method Details

negativeMatchData() public static method

public static negativeMatchData ( )

positiveMatchData() public static method

public static positiveMatchData ( )

setUp() public method

public setUp ( )

test_error_message_when_matching_non_array_value() public method

test_error_when_matching_fail() public method

test_error_when_path_in_nested_pattern_does_not_exist() public method

test_error_when_path_in_nested_value_does_not_exist() public method

test_error_when_path_in_pattern_does_not_exist() public method

test_error_when_path_in_value_does_not_exist() public method

test_matching_array_to_array_pattern() public method

test_negative_match_arrays() public method

public test_negative_match_arrays ( $value, $pattern )

test_negative_match_when_cant_find_matcher_that_can_match_array_element() public method

test_positive_match_arrays() public method

public test_positive_match_arrays ( $value, $pattern )