public contextPathPatternShouldWorkWithContexts ( $path, $expected ) |
public function contextPathPatternShouldWorkWithContexts($path, $expected)
{
$matches = array();
preg_match(NodeInterface::MATCH_PATTERN_CONTEXTPATH, $path, $matches);
$this->assertSame($expected, $matches);
}