2016-04-19 14:51:58 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Aviat\AnimeClient\Command\BaseCommand;
|
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);
|
|
|
|
}
|
|
|
|
}
|