SebastiaanLuca\Router\Tests\KernelTest::createKernel PHP Method

createKernel() protected method

protected createKernel ( ) : Mockery\MockInterface | Kernel
return Mockery\MockInterface | SebastiaanLuca\Router\Kernel
    protected function createKernel()
    {
        // Mocking of the kernel using the default router
        return $this->mock(Kernel::class, [$this->app, $this->app->make(Router::class)])->makePartial()->shouldAllowMockingProtectedMethods();
    }