public function testPath() { $source = $this->makeSourcePattern(); $source->path = 'one/two/three'; $pattern = new Pattern($this->makeStyleguide(), $source); $path = 'one-two-three' . DIRECTORY_SEPARATOR . "one-two-three.html"; $this->assertEquals($path, $pattern->getPath()); }