X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar-X/vendor/swiftmailer/swiftmailer/tests
home
/
gfecatvj
/
sites
/
realesbar-X
/
vendor
/
swiftmailer
/
swiftmailer
/
tests
/
π
..
π
IdenticalBinaryConstraint.php
(1.22 KB)
π
StreamCollector.php
(145 B)
π
SwiftMailerSmokeTestCase.php
(1.47 KB)
π
SwiftMailerTestCase.php
(891 B)
π
_samples
π
acceptance
π
acceptance.conf.php.default
(1.01 KB)
π
bootstrap.php
(662 B)
π
bug
π
fixtures
π
smoke
π
smoke.conf.php.default
(1.53 KB)
π
unit
Editing: SwiftMailerTestCase.php
<?php use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; /** * A base test case with some custom expectations. * * @author Rouven WeΓling */ class SwiftMailerTestCase extends \PHPUnit\Framework\TestCase { use MockeryPHPUnitIntegration; public static function regExp($pattern) { if (!is_string($pattern)) { throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'string'); } return new \PHPUnit\Framework\Constraint\RegularExpression($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); } }
Upload File
Create Folder