Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/phpunit/phpunit/tests/_files/NamespaceCoverageCoversClassTest.php
<?php
use PHPUnit\Framework\TestCase;

/**
 * @coversDefaultClass \Foo\CoveredClass
 */
class NamespaceCoverageCoversClassTest extends TestCase
{
   
/**
     * @covers ::privateMethod
     * @covers ::protectedMethod
     * @covers ::publicMethod
     * @covers \Foo\CoveredParentClass::privateMethod
     * @covers \Foo\CoveredParentClass::protectedMethod
     * @covers \Foo\CoveredParentClass::publicMethod
     */
   
public function testSomething()
    {
       
$o = new Foo\CoveredClass;
       
$o->publicMethod();
    }
}