| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class FailerFactoryTest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function test_create_success() |
||
| 16 | { |
||
| 17 | $factory = new FailerFactory(); |
||
| 18 | $factory->register(new MemoryFailerFactory()); |
||
| 19 | |||
| 20 | $this->assertInstanceOf(MemoryFailedJobRepository::class, $factory->createFromDsn('memory:')); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function test_create_invalid_scheme() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |