NullOutputTest.php 624 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. namespace Symfony\Tests\Components\Console\Output;
  10. require_once __DIR__.'/../../../bootstrap.php';
  11. use Symfony\Components\Console\Output\NullOutput;
  12. class NullOutputTest extends \PHPUnit_Framework_TestCase
  13. {
  14. public function testConstructor()
  15. {
  16. $output = new NullOutput();
  17. $output->write('foo');
  18. $this->assertTrue(true, '->write() does nothing');
  19. }
  20. }