Page MenuHomeDevCentral

TestCase.php
No OneTemporary

TestCase.php

<?php
namespace Nasqueron\Notifications\Tests\Console\Commands;
use Nasqueron\Notifications\Config\Services\Service;
use Nasqueron\Notifications\Tests\TestCase as BaseTestCase;
use Illuminate\Contracts\Console\Kernel;
use Symfony\Component\Console\Tester\CommandTester;
use Mockery;
class TestCase extends BaseTestCase {
///
/// Commands test environment
///
/**
* @var Symfony\Component\Console\Command
*/
protected $command;
/**
* @var Symfony\Component\Console\Tester\CommandTester;
*/
protected $tester;
public function setUp () {
parent::setUp();
$kernel = $this->app->make(Kernel::class);
$this->command = $kernel->getByClass($this->class);
$this->tester = new CommandTester($this->command);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Aug 18, 23:44 (12 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3918732
Default Alt Text
TestCase.php (801 B)

Event Timeline