| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class GetTest extends AbstractRule |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Test fetching a simple value without locale information. |
||
| 19 | */ |
||
| 20 | 1 | public function testWithoutLocale() |
|
| 21 | { |
||
| 22 | 1 | $this->assertRuleResults(['test' => 'toto 1'], [], ['field' => 'test'], 'toto 1'); |
|
| 23 | 1 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Test results when column don't exist. |
||
| 27 | */ |
||
| 28 | 1 | public function testUnfound() |
|
| 31 | 1 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritdoc |
||
| 35 | */ |
||
| 36 | 3 | protected function getRule() |
|
| 39 | } |
||
| 40 | } |