| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function testType(): void |
||
| 13 | { |
||
| 14 | $typeFirst = 'dns'; |
||
| 15 | $typeSecond = 'x400'; |
||
| 16 | |||
| 17 | $mtaNameTypeField = new MtaNameTypeField('name', 'value', $typeFirst, null); |
||
| 18 | |||
| 19 | $this->assertSame($typeFirst, $mtaNameTypeField->getType()); |
||
| 20 | |||
| 21 | $mtaNameTypeField->setValue($typeSecond); |
||
| 22 | |||
| 23 | $this->assertSame($typeSecond, $mtaNameTypeField->getValue()); |
||
| 24 | } |
||
| 62 |