Sen descrición

ResourceOperationsTest.php 702B

123456789101112131415161718192021222324252627
  1. <?php declare(strict_types=1);
  2. /*
  3. * This file is part of resource-operations.
  4. *
  5. * (c) Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace SebastianBergmann\ResourceOperations;
  11. use PHPUnit\Framework\TestCase;
  12. /**
  13. * @covers \SebastianBergmann\ResourceOperations\ResourceOperations
  14. */
  15. final class ResourceOperationsTest extends TestCase
  16. {
  17. public function testGetFunctions(): void
  18. {
  19. $functions = ResourceOperations::getFunctions();
  20. $this->assertInternalType('array', $functions);
  21. $this->assertContains('fopen', $functions);
  22. }
  23. }