3 namespace spec\Drupal\Driver\Cores;
5 use Drupal\Component\Utility\Random;
7 use PhpSpec\ObjectBehavior;
10 class Drupal7Spec extends ObjectBehavior
12 function let(Random $random)
14 $this->beConstructedWith('path', 'http://www.example.com', $random);
17 function it_is_initializable()
19 $this->shouldHaveType('Drupal\Driver\Cores\Drupal7');
22 function it_should_return_a_random_generator()
24 $this->getRandom()->shouldBeAnInstanceOf('Drupal\Component\Utility\Random');