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, May 13, 16:57 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2571398
Default Alt Text
TestCase.php (801 B)

Event Timeline