Code Duplication    Length = 10-10 lines in 2 locations

Tests/RabbitMQ/JobManagerTest.php 1 location

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

Tests/Redis/JobManagerTest.php 1 location

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