菜谱项目

NamespaceCoverageNotPublicTest.php 252B

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