NamespaceCoverageNotPublicTest.php 267 B

123456789101112131415
  1. <?php
  2. use PHPUnit\Framework\TestCase;
  3. class NamespaceCoverageNotPublicTest extends TestCase
  4. {
  5. /**
  6. * @covers Foo\CoveredClass::<!public>
  7. */
  8. public function testSomething()
  9. {
  10. $o = new Foo\CoveredClass;
  11. $o->publicMethod();
  12. }
  13. }