Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
24 | 1 | public function testGetSettings(): void |
|
25 | { |
||
26 | 1 | $mockStrategy = $this->createMock(JobStrategyInterface::class); |
|
27 | 1 | $settings = ['test' => 'value']; |
|
28 | 1 | $jobDefinition = new JobDefinition($mockStrategy, $settings); |
|
29 | 1 | $this->assertSame($settings, $jobDefinition->getSettings()); |
|
30 | 1 | } |
|
32 |