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