summaryrefslogtreecommitdiffstats
path: root/ResourceOperationsTest.php
diff options
context:
space:
mode:
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);
+ }
+}