public function testSourcePath() { $source = $this->makePattern(); $source->normalizedPath = "one/two/three"; $pattern = new Pattern($source); $this->assertEquals($source->path, $pattern->getSourcePath()); }