Anons79 Mini Shell

Directory : /home/proudlyafrican/public_html/vendor/swiftmailer/swiftmailer/tests/bug/Swift/
Upload File :
Current File : /home/proudlyafrican/public_html/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug71Test.php

<?php

class Swift_Bug71Test extends \PHPUnit_Framework_TestCase
{
    private $_message;

    protected function setUp()
    {
        $this->_message = new Swift_Message('test');
    }

    public function testCallingToStringAfterSettingNewBodyReflectsChanges()
    {
        $this->_message->setBody('BODY1');
        $this->assertRegExp('/BODY1/', $this->_message->toString());

        $this->_message->setBody('BODY2');
        $this->assertRegExp('/BODY2/', $this->_message->toString());
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]