| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function testCreatesFromThrowable(\Throwable $throwable, string $expectedDetail, int $expectedStatus): void |
||
| 18 | { |
||
| 19 | $dto = ProblemDetails::fromThrowable($throwable); |
||
| 20 | |||
| 21 | $this->assertSame($expectedDetail, $dto->detail); |
||
| 22 | $this->assertSame($expectedStatus, $dto->status); |
||
| 23 | } |
||
| 43 |