File: CoverageNothingTest.php

package info (click to toggle)
php-codecoverage 6.1.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,324 kB
  • sloc: php: 5,958; xml: 924; makefile: 28; sh: 5
file content (15 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
use PHPUnit\Framework\TestCase;

class CoverageNothingTest extends TestCase
{
    /**
     * @covers CoveredClass::publicMethod
     * @coversNothing
     */
    public function testSomething()
    {
        $o = new CoveredClass;
        $o->publicMethod();
    }
}