Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / spec / Drupal / Driver / Exception / UnsupportedDriverActionExceptionSpec.php
diff --git a/vendor/drupal/drupal-driver/spec/Drupal/Driver/Exception/UnsupportedDriverActionExceptionSpec.php b/vendor/drupal/drupal-driver/spec/Drupal/Driver/Exception/UnsupportedDriverActionExceptionSpec.php
new file mode 100644 (file)
index 0000000..84a465e
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace spec\Drupal\Driver\Exception;
+
+use PhpSpec\ObjectBehavior;
+use Prophecy\Argument;
+
+use Drupal\Driver\DriverInterface;
+
+class UnsupportedDriverActionExceptionSpec extends ObjectBehavior
+{
+    function let(DriverInterface $driver)
+    {
+        $this->beConstructedWith('Unsupported action in %s driver!', $driver);
+    }
+
+    function it_is_initializable()
+    {
+        $this->shouldHaveType('Drupal\Driver\Exception\UnsupportedDriverActionException');
+    }
+
+    function it_should_get_the_driver()
+    {
+        $this->getDriver()->shouldBeAnInstanceOf('Drupal\Driver\DriverInterface');
+    }
+}