home
/
zktecojo
/
public_html
/
vendor
/
swiftmailer
/
swiftmailer
/
tests
/
bug
/
Swift
➕ New
📤 Upload
✎ Editing:
Bug71Test.php
← Back
<?php class Swift_Bug71Test extends \PHPUnit_Framework_TestCase { private $_message; public 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()); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel