%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/coding/vendor/swiftmailer/swiftmailer/tests/bug/Swift/
Upload File :
Create Path :
Current File : /var/www/html/coding/vendor/swiftmailer/swiftmailer/tests/bug/Swift/Bug118Test.php

<?php

class Swift_Bug118Test extends \PHPUnit_Framework_TestCase
{
    private $_message;

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

    public function testCallingGenerateIdChangesTheMessageId()
    {
        $currentId = $this->_message->getId();
        $this->_message->generateId();
        $newId = $this->_message->getId();

        $this->assertNotEquals($currentId, $newId);
    }
}

Zerion Mini Shell 1.0