Code Duplication    Length = 10-10 lines in 2 locations

Tests/RabbitMQ/JobManagerTest.php 1 location

@@ 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
    {

Tests/Redis/JobManagerTest.php 1 location

@@ 53-62 (lines=10) @@
50
        parent::setUpBeforeClass();
51
    }
52
53
    public function testConstructor()
54
    {
55
        $test = null;
56
        try {
57
            $test = new JobManager(self::$runManager, self::$jobTimingManager, Job::class, 'something');
58
        } catch (\Exception $exception) {
59
            self::fail("shouldn't get here");
60
        }
61
        self::assertNotNull($test);
62
    }
63
64
    public function testGetJobByWorker()
65
    {