HummingBirdAnimeClient/tests/Command/BaseCommandTest.php

36 lines
1010 B
PHP
Raw Normal View History

2017-02-15 13:08:17 -05:00
<?php declare(strict_types=1);
/**
2017-02-15 16:13:32 -05:00
* Hummingbird Anime List Client
2017-02-15 13:08:17 -05:00
*
* An API client for Kitsu and MyAnimeList to manage anime and manga watch lists
*
* PHP version 7
*
2017-02-15 16:13:32 -05:00
* @package HummingbirdAnimeClient
2017-02-15 13:08:17 -05:00
* @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2015 - 2017 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 4.0
* @link https://github.com/timw4mail/HummingBirdAnimeClient
*/
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);
}
}