Bolt\Tests\Extension\ControllerTraitTest::testRoutes PHP Метод

testRoutes() публичный Метод

public testRoutes ( )
    public function testRoutes()
    {
        $app = $this->getApp();
        $event = $this->getMockMountEvent();
        $event->expects($this->exactly(2))->method('mount');
        $ext = new ControllerExtension();
        $ext->setContainer($app);
        $ext->onMountRoutes($event);
    }