Exemple #1
0
 public function testPatternLink()
 {
     $source = $this->makeSourcePattern();
     $source->path = 'type/subtype/name';
     $pattern = new Pattern($this->makeStyleguide(), $source);
     $link = 'type-subtype-name' . DIRECTORY_SEPARATOR . 'type-subtype-name.html';
     $this->assertEquals($link, $pattern->patternLink());
 }