| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | |||
| 13 | class VoidOutcomeSpec extends ObjectBehavior |
||
| 14 | { |
||
| 15 | function let(ExampleObj $example) |
||
| 16 | { |
||
| 17 | $this->beConstructedWith($example); |
||
| 18 | } |
||
| 19 | |||
| 20 | function it_is_initializable() |
||
| 21 | { |
||
| 22 | $this->shouldHaveType(VoidOutcome::class); |
||
| 23 | } |
||
| 24 | |||
| 25 | function it_is_an_outcome() |
||
| 26 | { |
||
| 27 | $this->shouldHaveType(OutcomeInterface::class); |
||
| 28 | } |
||
| 29 | |||
| 30 | function it_contains_example($example) |
||
| 31 | { |
||
| 32 | $this->getExample()->shouldReturn($example); |
||
| 33 | } |
||
| 34 | |||
| 35 | function it_knows_its_type() |
||
| 36 | { |
||
| 37 | $this->shouldNotBeError(); |
||
| 38 | $this->shouldNotBeOutput(); |
||
| 39 | $this->shouldNotBeSkipped(); |
||
| 40 | $this->shouldBeVoid(); |
||
| 41 | } |
||
| 42 | |||
| 58 |