public function testIsScenarioMatchFilter()
{
$feature = new Node\FeatureNode(null, null, '/some/path/with/some.feature', 1);
$scenario = new Node\ScenarioNode(null, 2);
$scenario->setFeature($feature);
$filter = new PathsFilter(array('/some'));
$this->assertTrue($filter->isScenarioMatch($scenario));
$filter = new PathsFilter(array('/abc', '/def', '/some'));
$this->assertTrue($filter->isScenarioMatch($scenario));
$filter = new PathsFilter(array('/abc', '/def', '/some/path'));
$this->assertTrue($filter->isScenarioMatch($scenario));
$filter = new PathsFilter(array('/abc', '/some/path', '/def'));
$this->assertTrue($filter->isScenarioMatch($scenario));
$filter = new PathsFilter(array('/abc', '/def', '/wrong/path'));
$this->assertFalse($filter->isScenarioMatch($scenario));
}