Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | function it_represents_a_template_block(): void |
||
21 | { |
||
22 | $this->beConstructedWith('block_name', 'block.html.twig', ['foo' => 'bar'], 10, false); |
||
23 | |||
24 | $this->getName()->shouldReturn('block_name'); |
||
25 | $this->getTemplate()->shouldReturn('block.html.twig'); |
||
26 | $this->getContext()->shouldReturn(['foo' => 'bar']); |
||
27 | $this->getPriority()->shouldReturn(10); |
||
28 | $this->isEnabled()->shouldReturn(false); |
||
29 | } |
||
30 | } |
||
31 |