| Total Complexity | 3 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class LabelFieldUnitTest extends \PHPUnit\Framework\TestCase |
||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Testing constructor |
||
| 9 | */ |
||
| 10 | public function testConstructor() |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Testing getType method |
||
| 29 | */ |
||
| 30 | public function testGetType(): void |
||
| 31 | { |
||
| 32 | // setup |
||
| 33 | $field = new \Mezon\Gui\Field\LabelField([ |
||
| 34 | 'text' => 'name' |
||
| 35 | ]); |
||
| 36 | |||
| 37 | // test body and assertions |
||
| 38 | $this->assertStringContainsString('label', $field->getType()); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Testing fillAllRow method |
||
| 43 | */ |
||
| 44 | public function testFillAllRow(): void |
||
| 53 | } |
||
| 54 | } |
||
| 55 |