@@ -121,7 +121,7 @@ public function testShouldSendExpectedMessageOnPushRaw()
121121 ->expects ($ this ->once ())
122122 ->method ('send ' )
123123 ->with ($ this ->identicalTo ($ topic ), $ this ->isInstanceOf (AmqpMessage::class))
124- ->willReturnCallback (function ($ actualTopic , AmqpMessage $ message ) use ($ expectedQueueName , $ expectedBody , $ topic ) {
124+ ->willReturnCallback (function ($ actualTopic , AmqpMessage $ message ) use ($ expectedQueueName , $ expectedBody , $ topic ) {
125125 $ this ->assertSame ($ topic , $ actualTopic );
126126 $ this ->assertSame ($ expectedBody , $ message ->getBody ());
127127 $ this ->assertSame ($ expectedQueueName , $ message ->getRoutingKey ());
@@ -178,7 +178,7 @@ public function testShouldSetAttemptCountHeaderIfNotNull()
178178 ->expects ($ this ->once ())
179179 ->method ('send ' )
180180 ->with ($ this ->identicalTo ($ topic ), $ this ->isInstanceOf (AmqpMessage::class))
181- ->willReturnCallback (function ($ actualTopic , AmqpMessage $ message ) use ($ expectedAttempts ) {
181+ ->willReturnCallback (function ($ actualTopic , AmqpMessage $ message ) use ($ expectedAttempts ) {
182182 $ this ->assertSame ($ expectedAttempts , $ message ->getProperty (RabbitMQQueue::ATTEMPT_COUNT_HEADERS_KEY ));
183183 })
184184 ;
@@ -270,7 +270,7 @@ public function testShouldLogExceptionOnPushRaw()
270270 $ producer
271271 ->expects ($ this ->once ())
272272 ->method ('send ' )
273- ->willReturnCallback (function () {
273+ ->willReturnCallback (function () {
274274 throw new \LogicException ('Something went wrong while sending a message ' );
275275 })
276276 ;
@@ -398,7 +398,7 @@ public function testShouldLogExceptionOnPop()
398398 $ consumer
399399 ->expects ($ this ->once ())
400400 ->method ('receiveNoWait ' )
401- ->willReturnCallback (function () {
401+ ->willReturnCallback (function () {
402402 throw new \LogicException ('Something went wrong while receiving a message ' );
403403 })
404404 ;
0 commit comments