BBnepal-Accounts/hostel/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

21 lines
517 B
PHP

<?php
/**
* @coversDefaultClass \Foo\CoveredClass
*/
class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_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();
}
}