summaryrefslogtreecommitdiffstats
path: root/ResourceOperationsTest.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-28 09:03:03 +0200
committerRemi Collet <remi@remirepo.net>2018-09-28 09:03:03 +0200
commitf4da73e18e0e5221fc8d95676da6059c1db32e88 (patch)
tree8f9e16d6b41cb3db6e3bec5305194eb5414ff333 /ResourceOperationsTest.php
duplicate php-sebastian-resource-operations
Diffstat (limited to 'ResourceOperationsTest.php')
-rw-r--r--ResourceOperationsTest.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/ResourceOperationsTest.php b/ResourceOperationsTest.php
new file mode 100644
index 0000000..176bc0d
--- /dev/null
+++ b/ResourceOperationsTest.php
@@ -0,0 +1,29 @@
+<?php
+/*
+ * This file is part of resource-operations.
+ *
+ * (c) Sebastian Bergmann <sebastian@phpunit.de>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace SebastianBergmann\ResourceOperations;
+
+use PHPUnit_Framework_TestCase;
+
+/**
+ * @covers SebastianBergmann\ResourceOperations\ResourceOperations
+ */
+class ResourceOperationsTest extends PHPUnit_Framework_TestCase
+{
+ /**
+ * @covers SebastianBergmann\ResourceOperations\ResourceOperations::getFunctions
+ */
+ public function testGetFunctions()
+ {
+ $tab = ResourceOperations::getFunctions();
+ $this->assertTrue(is_array($tab), 'ResourceOperations::getFunctions does not return an array');
+ $this->assertContains('zip_open', $tab);
+ }
+}