home
/
zktecojo
/
public_html
/
vendor
/
swiftmailer
/
swiftmailer
/
tests
➕ New
📤 Upload
✎ Editing:
SwiftMailerTestCase.php
← Back
<?php /** * A base test case with some custom expectations. * @author Rouven Weßling */ class SwiftMailerTestCase extends \PHPUnit_Framework_TestCase { public static function regExp($pattern) { if (!is_string($pattern)) { throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'string'); } return new PHPUnit_Framework_Constraint_PCREMatch($pattern); } public function assertIdenticalBinary($expected, $actual, $message = '') { $constraint = new IdenticalBinaryConstraint($expected); self::assertThat($actual, $constraint, $message); } protected function tearDown() { \Mockery::close(); } protected function getMockery($class) { return \Mockery::mock($class); } }
💾 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