3 namespace spec\Drupal\DrupalExtension\Context;
5 use PhpSpec\ObjectBehavior;
8 use Drupal\DrupalDriverManager;
10 class DrushContextSpec extends ObjectBehavior
12 function it_should_be_drupal_aware()
14 $this->shouldHaveType('Drupal\DrupalExtension\Context\RawDrupalContext');
17 function it_will_catch_scenarios_without_any_output()
19 $this->shouldThrow('\RuntimeException')->duringReadDrushOutput();
22 function it_is_a_translatable_context()
24 $this->shouldHaveType('Behat\Behat\Context\TranslatableContext');