NamespaceCoverageCoversClassPublicTest.php 311 B

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