| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function test_create_invalid_scheme() |
||
| 27 | { |
||
| 28 | $this->expectException(\InvalidArgumentException::class); |
||
| 29 | $this->expectExceptionMessage('Unsupported failer scheme "invalid"'); |
||
| 30 | |||
| 31 | $factory = new FailerFactory(); |
||
| 32 | $factory->register(new MemoryFailerFactory()); |
||
| 33 | |||
| 34 | $factory->createFromDsn('invalid:'); |
||
| 35 | } |
||
| 37 |