| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function testConstruct_3(): void |
||
| 40 | { |
||
| 41 | $oConfig = new Config([ |
||
| 42 | 'binary' => 'some_binary_file', |
||
| 43 | 'host' => '127.0.0.1', |
||
| 44 | 'port' => 2345, |
||
| 45 | 'docType' => DocType::GRAPHICS(), |
||
| 46 | 'format' => FormatType::PDF(), |
||
| 47 | 'timeout' => 10, |
||
| 48 | ]); |
||
| 49 | $this->assertSame(DocType::GRAPHICS, $oConfig->getDocType()->getValue()); |
||
| 50 | $this->assertSame(FormatType::PDF, $oConfig->getFormat()->getValue()); |
||
| 51 | $this->assertSame(10, $oConfig->getTimeout()); |
||
| 52 | } |
||
| 65 |