菜谱项目

NamespaceCoverageCoversClassPublicTest.php 296B

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