23 lines
532 B
PHP
23 lines
532 B
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();
|
||
|
}
|
||
|
}
|