Code Duplication    Length = 18-18 lines in 2 locations

src/Oro/Bundle/IntegrationBundle/Tests/Functional/Entity/Repository/ChannelRepositoryTest.php 2 locations

@@ 74-91 (lines=18) @@
71
        $this->assertEquals($expectedCount, $actual);
72
    }
73
74
    public function getRunningSyncJobsCountDataProvider()
75
    {
76
        return [
77
            [
78
                'command' => 'first_test_command',
79
                'expectedCount' => 2
80
            ],
81
            [
82
                'command' => 'second_test_command',
83
                'expectedCount' => 1
84
            ],
85
            [
86
                'command' => 'third_test_command',
87
                'expectedCount' => 2,
88
                'integration' => 'oro_integration:foo_integration',
89
            ]
90
        ];
91
    }
92
93
    /**
94
     * @dataProvider getExistingSyncJobsCountDataProvider
@@ 108-125 (lines=18) @@
105
        self::assertEquals($expectedCount, $actual);
106
    }
107
108
    public function getExistingSyncJobsCountDataProvider()
109
    {
110
        return [
111
            [
112
                'command'       => 'first_test_command',
113
                'expectedCount' => 3
114
            ],
115
            [
116
                'command'       => 'second_test_command',
117
                'expectedCount' => 4
118
            ],
119
            [
120
                'command'       => 'third_test_command',
121
                'expectedCount' => 3,
122
                'integration'   => 'oro_integration:foo_integration',
123
            ]
124
        ];
125
    }
126
}
127