Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / spec / Drupal / Driver / Cores / Drupal6Spec.php
1 <?php
2
3 namespace spec\Drupal\Driver\Cores;
4
5 use Drupal\Component\Utility\Random;
6
7 use PhpSpec\ObjectBehavior;
8 use Prophecy\Argument;
9
10 class Drupal6Spec extends ObjectBehavior
11 {
12     function let(Random $random)
13     {
14         $this->beConstructedWith('path', 'http://www.example.com', $random);
15     }
16
17     function it_is_initializable()
18     {
19         $this->shouldHaveType('Drupal\Driver\Cores\Drupal6');
20     }
21
22     function it_should_return_a_random_generator()
23     {
24         $this->getRandom()->shouldBeAnInstanceOf('Drupal\Component\Utility\Random');
25     }
26 }