Coduo\PHPMatcher\Tests\Matcher\ArrayMatcherTest::test_negative_match_when_cant_find_matcher_that_can_match_array_element PHP Метод

test_negative_match_when_cant_find_matcher_that_can_match_array_element() публичный Метод

    public function test_negative_match_when_cant_find_matcher_that_can_match_array_element()
    {
        $matcher = new Matcher\ArrayMatcher(new Matcher\ChainMatcher(array(new Matcher\WildcardMatcher())), $parser = new Parser(new Lexer(), new Parser\ExpanderInitializer()));
        $this->assertTrue($matcher->match(array('test' => 1), array('test' => 1)));
    }