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