| @@ 64-73 (lines=10) @@ | ||
| 61 | parent::setUpBeforeClass(); |
|
| 62 | } |
|
| 63 | ||
| 64 | public function testConstructor() |
|
| 65 | { |
|
| 66 | $test = null; |
|
| 67 | try { |
|
| 68 | $test = new JobManager(self::$runManager, self::$jobTimingManager, Job::class); |
|
| 69 | } catch (\Exception $exception) { |
|
| 70 | self::fail("shouldn't get here"); |
|
| 71 | } |
|
| 72 | self::assertNotNull($test); |
|
| 73 | } |
|
| 74 | ||
| 75 | public function testSetupChannel() |
|
| 76 | { |
|
| @@ 59-68 (lines=10) @@ | ||
| 56 | parent::setUpBeforeClass(); |
|
| 57 | } |
|
| 58 | ||
| 59 | public function testConstructor() |
|
| 60 | { |
|
| 61 | $test = null; |
|
| 62 | try { |
|
| 63 | $test = new JobManager(self::$runManager, self::$jobTimingManager, Job::class, 'something'); |
|
| 64 | } catch (\Exception $exception) { |
|
| 65 | self::fail("shouldn't get here"); |
|
| 66 | } |
|
| 67 | self::assertNotNull($test); |
|
| 68 | } |
|
| 69 | ||
| 70 | public function testGetJobByWorker() |
|
| 71 | { |
|