1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/Doctrine/Tests/Common/Cli/StyleTest.php

19 lines
511 B
PHP
Raw Normal View History

2010-01-10 00:25:51 +03:00
<?php
namespace Doctrine\Tests\Common\Cli;
use Doctrine\Common\Cli\Style;
require_once __DIR__ . '/../../TestInit.php';
class StyleTest extends \Doctrine\Tests\DoctrineTestCase
{
public function testGetMethods()
{
$style = new Style('BLACK', 'WHITE', array('BOLD' => true));
$this->assertEquals('BLACK', $style->getForeground());
$this->assertEquals('WHITE', $style->getBackground());
$this->assertEquals(array('BOLD' => true), $style->getOptions());
}
}