PHP Class Coduo\PHPMatcher\Tests\MatcherTest

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

Protected Properties

Property Type Description
$matcher Coduo\PHPMatcher\Matcher

Public Methods

Method Description
expanderExamples ( )
nullExamples ( )
orExamples ( )
scalarValueExamples ( )
setUp ( )
test_error_when_json_value_does_not_match_json_pattern ( )
test_expanders ( $value, $pattern, $expectedResult )
test_matcher_with_array_value ( )
test_matcher_with_callback ( )
test_matcher_with_json ( )
test_matcher_with_or ( $value, $pattern, $expectedResult )
test_matcher_with_scalar_values ( $value, $pattern )
test_matcher_with_wildcard ( )
test_matcher_with_xml ( )
test_null_value_in_the_json ( $value, $pattern )
test_text_matcher ( )

Method Details

expanderExamples() public static method

public static expanderExamples ( )

nullExamples() public static method

public static nullExamples ( )

orExamples() public static method

public static orExamples ( )

scalarValueExamples() public method

public scalarValueExamples ( )

setUp() public method

public setUp ( )

test_error_when_json_value_does_not_match_json_pattern() public method

test_expanders() public method

public test_expanders ( $value, $pattern, $expectedResult )

test_matcher_with_array_value() public method

test_matcher_with_callback() public method

test_matcher_with_json() public method

test_matcher_with_or() public method

public test_matcher_with_or ( $value, $pattern, $expectedResult )

test_matcher_with_scalar_values() public method

public test_matcher_with_scalar_values ( $value, $pattern )

test_matcher_with_wildcard() public method

test_matcher_with_xml() public method

test_null_value_in_the_json() public method

public test_null_value_in_the_json ( $value, $pattern )

test_text_matcher() public method

public test_text_matcher ( )

Property Details

$matcher protected property

protected Matcher,Coduo\PHPMatcher $matcher
return Coduo\PHPMatcher\Matcher