Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / spec / Drupal / Driver / Exception / UnsupportedDriverActionExceptionSpec.php
1 <?php
2
3 namespace spec\Drupal\Driver\Exception;
4
5 use PhpSpec\ObjectBehavior;
6 use Prophecy\Argument;
7
8 use Drupal\Driver\DriverInterface;
9
10 class UnsupportedDriverActionExceptionSpec extends ObjectBehavior
11 {
12     function let(DriverInterface $driver)
13     {
14         $this->beConstructedWith('Unsupported action in %s driver!', $driver);
15     }
16
17     function it_is_initializable()
18     {
19         $this->shouldHaveType('Drupal\Driver\Exception\UnsupportedDriverActionException');
20     }
21
22     function it_should_get_the_driver()
23     {
24         $this->getDriver()->shouldBeAnInstanceOf('Drupal\Driver\DriverInterface');
25     }
26 }