Tests/Transport/Rpc/RpcClientOld.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 82-91 (lines=10) @@ | 
                                                            
                                    | 79 |  |     /** | 
                                                            
                                    | 80 |  |      * @return ConnectionManager | 
                                                            
                                    | 81 |  |      */ | 
                                                            
                                    | 82 |  |     protected function getConnectionManagerMock() | 
                                                            
                                    | 83 |  |     { | 
                                                            
                                    | 84 |  |         $connectionManagerMock = $this->getMockBuilder(ConnectionManager::class) | 
                                                            
                                    | 85 |  |             ->disableOriginalConstructor() | 
                                                            
                                    | 86 |  |             ->getMock(); | 
                                                            
                                    | 87 |  |         $connectionManagerMock->method('getConnection') | 
                                                            
                                    | 88 |  |             ->willReturn($this->getConnectionMock()); | 
                                                            
                                    | 89 |  |  | 
                                                            
                                    | 90 |  |         return $connectionManagerMock; | 
                                                            
                                    | 91 |  |     } | 
                                                            
                                    | 92 |  |  | 
                                                            
                                    | 93 |  |     /** | 
                                                            
                                    | 94 |  |      * @return CmobiAMQPConnection | 
                                                                        
                 
                                                            
                    
Tests/Transport/Subscriber/PublisherTest.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 68-77 (lines=10) @@ | 
                                                            
                                    | 65 |  |     /** | 
                                                            
                                    | 66 |  |      * @return ConnectionManager | 
                                                            
                                    | 67 |  |      */ | 
                                                            
                                    | 68 |  |     protected function getConnectionManagerMock() | 
                                                            
                                    | 69 |  |     { | 
                                                            
                                    | 70 |  |         $connectionManagerMock = $this->getMockBuilder(ConnectionManager::class) | 
                                                            
                                    | 71 |  |             ->disableOriginalConstructor() | 
                                                            
                                    | 72 |  |             ->getMock(); | 
                                                            
                                    | 73 |  |         $connectionManagerMock->method('getConnection') | 
                                                            
                                    | 74 |  |             ->willReturn($this->getConnectionMock()); | 
                                                            
                                    | 75 |  |  | 
                                                            
                                    | 76 |  |         return $connectionManagerMock; | 
                                                            
                                    | 77 |  |     } | 
                                                            
                                    | 78 |  |  | 
                                                            
                                    | 79 |  |     /** | 
                                                            
                                    | 80 |  |      * @return CmobiAMQPConnection |