NullOutputTest.php 575 B

1234567891011121314151617181920212223
  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. use Symfony\Components\Console\Output\NullOutput;
  11. class NullOutputTest extends \PHPUnit_Framework_TestCase
  12. {
  13. public function testConstructor()
  14. {
  15. $output = new NullOutput();
  16. $output->write('foo');
  17. $this->assertTrue(true, '->write() does nothing');
  18. }
  19. }