NamespaceCoverageCoversClassTest.php in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
File
vendor/phpunit/phpunit/tests/_files/NamespaceCoverageCoversClassTest.phpView source
<?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();
}
}
Classes
Name | Description |
---|---|
NamespaceCoverageCoversClassTest | @coversDefaultClass \Foo\CoveredClass |