HummingBirdAnimeClient/tests/Command/BaseCommandTest.php

39 lines
1.0 KiB
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>
2018-01-15 14:43:15 -05:00
* @copyright 2015 - 2018 Timothy J. Warren
2017-02-15 13:08:17 -05:00
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 4.0
* @link https://git.timshomepage.net/timw4mail/HummingBirdAnimeClient
2017-02-15 13:08:17 -05:00
*/
2017-02-15 11:49:38 -05:00
namespace Aviat\AnimeClient\Tests\Command;
use Aviat\AnimeClient\Command\BaseCommand;
2017-02-15 16:40:18 -05:00
use Aviat\AnimeClient\Tests\AnimeClientTestCase;
2016-10-20 22:32:17 -04:00
use Aviat\Ion\Friend;
use ConsoleKit\Console;
2017-02-15 16:40:18 -05:00
class BaseCommandTest extends AnimeClientTestCase {
2017-02-22 15:08:29 -05:00
protected $base;
protected $friend;
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);
}
}