getMethod() public method

public getMethod ( )
示例#1
0
 public function testName()
 {
     $app = $this->getApp();
     $plugin = new Plugin\ThumbnailUrl($app);
     $this->assertEquals('thumb', $plugin->getMethod());
 }
示例#2
0
 public function testName()
 {
     $urlGenerator = $this->createMock(UrlGeneratorInterface::class);
     $plugin = new Plugin\ThumbnailUrl($urlGenerator);
     $this->assertEquals('thumb', $plugin->getMethod());
 }