This way of approaching the problem is too brittle. You should create a logical boundary within your application that represents the authority of this microservice and convert the incoming messages to events or commands within your logical boundary which in their turn get dispatched using the regular Bus / Event Dispatchers.
This way, you can then just dispatch the command/event using Bus/Event::dispatch and then assert the outcome. Long story short, decouple the delivery mechanism from the actual implementation of the logical boundary.
Pseudocode:
final class ProcessIncomingEventMessage extends Job
{
public function handle(Dispatcher $dispatcher, EventDeserializer $event): void
{
$dispatcher->dispatch(
$event->deserialize($this->rabbitMessage->getAttribute('event'))
);
}
}