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