| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function testMessage(): void |
||
| 12 | { |
||
| 13 | $reflection = new \ReflectionFunction('\\array_map'); |
||
| 14 | $exception = $this->createException($reflection, 'someParameter'); |
||
| 15 | |||
| 16 | $this->assertSame( |
||
| 17 | 'Can not determine default value of parameter "someParameter" when calling "array_map" because it is PHP' |
||
| 18 | . ' internal. Please specify argument explicitly.', |
||
| 19 | $exception->getMessage() |
||
| 20 | ); |
||
| 23 |