| Total Complexity | 3 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class LabelFieldUnitTest extends TestCase |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Testing constructor |
||
| 16 | */ |
||
| 17 | public function testConstructor(): void |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Testing getType method |
||
| 36 | */ |
||
| 37 | public function testGetType(): void |
||
| 38 | { |
||
| 39 | // setup |
||
| 40 | $field = new LabelField([ |
||
| 41 | 'text' => 'name' |
||
| 42 | ]); |
||
| 43 | |||
| 44 | // test body and assertions |
||
| 45 | $this->assertStringContainsString('label', $field->getType()); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Testing fillAllRow method |
||
| 50 | */ |
||
| 51 | public function testFillAllRow(): void |
||
| 60 | } |
||
| 61 | } |
||
| 62 |