| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testNameSetter() |
||
| 20 | { |
||
| 21 | // test body |
||
| 22 | $field = new \Mezon\Gui\Field(json_decode(file_get_contents(__DIR__ . '/conf/name-setter.json'), true), ''); |
||
| 23 | |||
| 24 | // assertions |
||
| 25 | $this->assertStringContainsString('prefixfield-name000', $field->html(), 'Invalid field "name" value'); |
||
| 26 | } |
||
| 64 |