BBnepal-Accounts/hostel/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php

21 lines
517 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?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();
}
}