Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Unit\Chekote\NounStore\Key; |
||
8 | class SplitPossessionsTest extends KeyTestCase |
||
9 | { |
||
10 | public function setUp(): void |
||
11 | { |
||
12 | parent::setUp(); |
||
13 | |||
14 | /* @noinspection PhpUndefinedMethodInspection */ |
||
15 | Phake::when($this->key)->splitPossessions(Phake::anyParameters())->thenCallParent(); |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @dataProvider nouns |
||
20 | */ |
||
21 | public function testSuccessScenario(string $key, array $parts): void |
||
27 | ); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Data provider of possessive nouns and their component nouns. |
||
32 | * |
||
33 | * @return array[] |
||
34 | */ |
||
35 | public static function nouns(): array |
||
47 |