public function testPartial() { $source = $this->makePattern(); $source->normalizedPath = "one/two"; $pattern = new Pattern($source); $this->assertEquals('one-two', $pattern->getPartial()); }
public function testPartialDoesntHaveDigits() { $pattern = new Pattern('01-one/02-two/03-three', __FILE__); $this->assertEquals('one-three', $pattern->getPartial()); }