ToolInfoTest.php 621 B

1234567891011121314151617181920212223242526272829303132
  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. * @internal
  16. */
  17. final class ToolInfoTest extends \PHPUnit_Framework_TestCase
  18. {
  19. public function testGetVersion()
  20. {
  21. $this->assertInternalType('string', ToolInfo::getVersion());
  22. }
  23. public function testIsInstallAsPhar()
  24. {
  25. $this->assertFalse(ToolInfo::isInstalledAsPhar());
  26. }
  27. }