ToolInfoTest.php 599 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the PHP CS utility.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Symfony\CS\Tests;
  11. use Symfony\CS\ToolInfo;
  12. /**
  13. * @author SpacePossum
  14. */
  15. class ToolInfoTest extends \PHPUnit_Framework_TestCase
  16. {
  17. public function testGetVersion()
  18. {
  19. $this->assertInternalType('string', ToolInfo::getVersion());
  20. }
  21. public function testIsInstallAsPhar()
  22. {
  23. $this->assertFalse(ToolInfo::isInstalledAsPhar());
  24. }
  25. }