Author: Carson Full (carsonfull@gmail.com)
Inheritance: implements Bolt\Filesystem\PluginInterface, use trait PluginTrait
Beispiel #1
0
 public function testName()
 {
     $app = $this->getApp();
     $plugin = new Plugin\ThumbnailUrl($app);
     $this->assertEquals('thumb', $plugin->getMethod());
 }
Beispiel #2
0
 public function testName()
 {
     $urlGenerator = $this->createMock(UrlGeneratorInterface::class);
     $plugin = new Plugin\ThumbnailUrl($urlGenerator);
     $this->assertEquals('thumb', $plugin->getMethod());
 }