OSTest.php 477 B

1234567891011121314151617181920212223242526
  1. <?php declare(strict_types=1);
  2. /**
  3. * This file is part of toolkit/stdlib.
  4. *
  5. * @author https://github.com/inhere
  6. * @link https://github.com/php-toolkit/stdlib
  7. * @license MIT
  8. */
  9. namespace Toolkit\StdlibTest;
  10. use PHPUnit\Framework\TestCase;
  11. use Toolkit\Stdlib\OS;
  12. /**
  13. * Class OSTest
  14. *
  15. * @package Toolkit\StdlibTest
  16. */
  17. class OSTest extends TestCase
  18. {
  19. public function testGetUserHomeDir(): void
  20. {
  21. self::assertNotEmpty(OS::userHomeDir());
  22. }
  23. }