/** * Find the specified theme. * * @param string $search * @return \Pingpong\Themes\Theme|null * @static */ public static function find($search) { return \Pingpong\Themes\Repository::find($search); }
public function test_find_theme() { $this->repository = $this->createRepository(); $test1 = $this->repository->find('theme1'); $this->assertInstanceOf('Pingpong\\Themes\\Theme', $test1); }