Example #1
0
 /**
  * Method to test findFile().
  *
  * @return void
  *
  * @covers Windwalker\Renderer\PhpRenderer::findFile
  */
 public function testFindFile()
 {
     $file = $this->instance->findFile('flower');
     $this->assertEquals(realpath(static::$path . '/flower.php'), $file);
     $file = $this->instance->findFile('foo/bar');
     $this->assertEquals(realpath(static::$path . '/foo/bar.php'), $file);
 }