HummingBirdAnimeClient/tests/Command/BaseCommandTest.php

22 lines
525 B
PHP
Raw Normal View History

<?php
2017-02-15 11:49:38 -05:00
namespace Aviat\AnimeClient\Tests\Command;
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;
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);
}
}