AcMailerTest\Controller\Plugin\SendMailPluginTest::testReplyToIsValidAsString PHP Метод

testReplyToIsValidAsString() публичный метод

    public function testReplyToIsValidAsString()
    {
        $result = $this->plugin->__invoke('theBody', 'theSubject', ['[email protected]'], null, null, null, null, '[email protected]');
        $this->assertInstanceOf('AcMailer\\Result\\ResultInterface', $result);
        $this->assertEquals('[email protected]', $this->service->getMessage()->getReplyTo()->current()->getEmail());
    }