NullOutputTest.php 466 B

12345678910111213141516171819
  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. require_once __DIR__.'/../../../../bootstrap.php';
  10. use Symfony\Components\Console\Output\NullOutput;
  11. $t = new LimeTest(1);
  12. $output = new NullOutput();
  13. $output->write('foo');
  14. $t->pass('->write() does nothing');