2016-04-19 14:51:58 -04:00
|
|
|
<?php
|
|
|
|
|
2017-02-15 11:49:38 -05:00
|
|
|
namespace Aviat\AnimeClient\Tests\Command;
|
|
|
|
|
2016-04-19 14:51:58 -04:00
|
|
|
use Aviat\AnimeClient\Command\BaseCommand;
|
2017-02-15 11:49:38 -05:00
|
|
|
use Aviat\AnimeClient\Tests\AnimeClient_TestCase;
|
2016-10-20 22:32:17 -04:00
|
|
|
use Aviat\Ion\Friend;
|
|
|
|
use ConsoleKit\Console;
|
2016-04-19 14:51:58 -04:00
|
|
|
|
|
|
|
class BaseCommandTest extends AnimeClient_TestCase {
|
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
$this->base = new BaseCommand(new Console());
|
|
|
|
$this->friend = new Friend($this->base);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function testSetupContainer()
|
|
|
|
{
|
|
|
|
$container = $this->friend->setupContainer();
|
|
|
|
$this->assertInstanceOf('Aviat\Ion\Di\Container', $container);
|
|
|
|
}
|
|
|
|
}
|