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

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

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