3 namespace spec\Drupal\Driver\Exception;
5 use PhpSpec\ObjectBehavior;
8 use Drupal\Driver\DriverInterface;
10 class UnsupportedDriverActionExceptionSpec extends ObjectBehavior
12 function let(DriverInterface $driver)
14 $this->beConstructedWith('Unsupported action in %s driver!', $driver);
17 function it_is_initializable()
19 $this->shouldHaveType('Drupal\Driver\Exception\UnsupportedDriverActionException');
22 function it_should_get_the_driver()
24 $this->getDriver()->shouldBeAnInstanceOf('Drupal\Driver\DriverInterface');