Code Duplication    Length = 10-10 lines in 2 locations

Tests/Redis/JobManagerTest.php 1 location

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

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
    {