getMethod() public method

public getMethod ( )
コード例 #1
0
ファイル: ThumbnailUrlTest.php プロジェクト: atiarda/bolt
 public function testName()
 {
     $app = $this->getApp();
     $plugin = new Plugin\ThumbnailUrl($app);
     $this->assertEquals('thumb', $plugin->getMethod());
 }
コード例 #2
0
ファイル: ThumbnailUrlTest.php プロジェクト: bolt/bolt
 public function testName()
 {
     $urlGenerator = $this->createMock(UrlGeneratorInterface::class);
     $plugin = new Plugin\ThumbnailUrl($urlGenerator);
     $this->assertEquals('thumb', $plugin->getMethod());
 }