<?php

declare(strict_types=1);

namespace NoahVet\Reef\Phpunit\RabbitMQ\Consumer\Factory;

use NoahVet\Reef\Phpunit\RabbitMQ\Consumer\MockedMQConsumer;
use NoahVet\Reef\RabbitMQ\Consumer\Factory\ReefMQConsumerFactoryInterface;
use NoahVet\Reef\RabbitMQ\Consumer\ReefMQConsumerInterface;

class MockedMQConsumerFactory implements ReefMQConsumerFactoryInterface
{
    public function createConsumer(): ReefMQConsumerInterface
    {
        return new MockedMQConsumer();
    }
}
