|
@@ -21,7 +21,7 @@ |
|
|
block discarded – undo |
|
21
|
21
|
->expects($this->once()) |
|
22
|
22
|
->method('send') |
|
23
|
23
|
->with($this->identicalTo($topic), $this->isInstanceOf(AmqpMessage::class)) |
|
24
|
|
- ->willReturnCallback(function ($actualTopic, AmqpMessage $message) use ($expectedQueueName, $expectedBody, $topic) { |
|
|
24
|
+ ->willReturnCallback(function($actualTopic, AmqpMessage $message) use ($expectedQueueName, $expectedBody, $topic) { |
|
25
|
25
|
$this->assertSame($topic, $actualTopic); |
|
26
|
26
|
$this->assertSame($expectedBody, $message->getBody()); |
|
27
|
27
|
$this->assertSame($expectedQueueName, $message->getRoutingKey()); |
Please login to merge, or discard this patch.