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