Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function it_parses_a_feature_with_a_title() |
||
29 | { |
||
30 | $input = 'Feature: This is a really cool feature'; |
||
31 | $expected = new FeatureNode('This is a really cool feature', '',[],null,[], 'Feature','en',null,1); |
||
32 | |||
33 | $parser = feature(); |
||
34 | $this->assertParses($input, $parser, $expected); |
||
35 | } |
||
36 | } |
||
37 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.