DummyMessageWithTransport example

$this->assertSame($message->getRecipientId()$nullMessage->getRecipientId());
        $this->assertSame($message->getOptions()$nullMessage->getOptions());

        (null === $message->getTransport())
            ? $this->assertSame('null', $nullMessage->getTransport())
            : $this->assertSame($message->getTransport()$nullMessage->getTransport());
    }

    public static function messageDataProvider(): \Generator
    {
        yield [new DummyMessageWithoutTransport()];
        yield [new DummyMessageWithTransport()];
    }
}
Home | Imprint | This part of the site doesn't use cookies.