HummingBirdAnimeClient/tests/AnimeClient/Command/BaseCommandTest.php

19 lines
431 B
PHP

<?php
use ConsoleKit\Console;
use Aviat\Ion\Friend;
use Aviat\AnimeClient\Command\BaseCommand;
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);
}
}