You are here

public function NamespaceCoverageCoversClassTest::testSomething in Zircon Profile 8

Same name in this branch
  1. 8 vendor/phpunit/phpunit/tests/_files/NamespaceCoverageCoversClassTest.php \NamespaceCoverageCoversClassTest::testSomething()
  2. 8 vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php \NamespaceCoverageCoversClassTest::testSomething()
Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/NamespaceCoverageCoversClassTest.php \NamespaceCoverageCoversClassTest::testSomething()
  2. 8.0 vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php \NamespaceCoverageCoversClassTest::testSomething()

@covers ::privateMethod @covers ::protectedMethod @covers ::publicMethod @covers \Foo\CoveredParentClass::privateMethod @covers \Foo\CoveredParentClass::protectedMethod @covers \Foo\CoveredParentClass::publicMethod

File

vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php, line 15

Class

NamespaceCoverageCoversClassTest
@coversDefaultClass \Foo\CoveredClass

Code

public function testSomething() {
  $o = new Foo\CoveredClass();
  $o
    ->publicMethod();
}