| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ProcessRunnerSpec extends ObjectBehavior |
||
| 14 | { |
||
| 15 | use RunnerSpecTrait; |
||
| 16 | |||
| 17 | function it_is_initializable() |
||
| 18 | { |
||
| 19 | $this->shouldHaveType(ProcessRunner::class); |
||
| 20 | } |
||
| 21 | |||
| 22 | function it_runs_examples_in_isolation(ExampleStoreInterface $store) |
||
| 23 | { |
||
| 24 | $store->getExamples()->willReturn([$this->an_example('class Foo {}')]); |
||
| 25 | |||
| 26 | $this->run($store)->shouldReturnOutcomeInstancesOf([VoidOutcome::class]); |
||
| 32 |