Code Duplication    Length = 7-7 lines in 2 locations

Tests/Transport/Rpc/RpcServerBuilderTest.php 1 location

@@ 17-23 (lines=7) @@
14
15
class RpcServerBuilderTest extends BaseTestCase
16
{
17
    public function testGetConnectionManager()
18
    {
19
        $rpcServer = new RpcServerBuilder($this->getConnectionManagerMock(), $this->getLoggerMock(), []);
20
        $connectionManager = $rpcServer->getConnectionManager();
21
22
        $this->assertInstanceOf(ConnectionManager::class, $connectionManager);
23
    }
24
25
    public function testBuildQueue()
26
    {

Tests/Transport/Worker/WorkerBuilderTest.php 1 location

@@ 16-22 (lines=7) @@
13
14
class WorkerBuilderTest extends BaseTestCase
15
{
16
    public function testGetConnectionManager()
17
    {
18
        $workerServer = new WorkerBuilder($this->getConnectionManagerMock(), $this->getLoggerMock(), []);
19
        $connectionManager = $workerServer->getConnectionManager();
20
21
        $this->assertInstanceOf(ConnectionManager::class, $connectionManager);
22
    }
23
24
    public function testBuildQueue()
25
    {