Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/phpunit-bridge/Tests/Fixtures/coverage/tests/BarCovTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
1 <?php | |
2 | |
3 /* | |
4 * This file is part of the Symfony package. | |
5 * | |
6 * (c) Fabien Potencier <fabien@symfony.com> | |
7 * | |
8 * For the full copyright and license information, please view the LICENSE | |
9 * file that was distributed with this source code. | |
10 */ | |
11 | |
12 namespace PhpUnitCoverageTest\Tests; | |
13 | |
14 use PHPUnit\Framework\TestCase; | |
15 | |
16 class BarCovTest extends TestCase | |
17 { | |
18 public function testBarCov() | |
19 { | |
20 if (!class_exists('PhpUnitCoverageTest\FooCov')) { | |
21 $this->markTestSkipped('This test is not part of the main Symfony test suite. It\'s here to test the CoverageListener.'); | |
22 } | |
23 | |
24 $foo = new \PhpUnitCoverageTest\FooCov(); | |
25 $bar = new \PhpUnitCoverageTest\BarCov($foo); | |
26 | |
27 $this->assertSame('bar', $bar->barZ()); | |
28 } | |
29 } |