blob: bd10c71637b027b91da0234ea1265be427d47864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
class Swift_Bug118Test extends \PHPUnit_Framework_TestCase
{
private $_message;
public 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);
}
}
|